Manticore Search, Unified Index; Error on page and index:rebuilt cannot complete in case filters are applied on field that has no value (IE: empty tracker)
- Status
- Open
- Subject
- Manticore Search, Unified Index; Error on page and index:rebuilt cannot complete in case filters are applied on field that has no value (IE: empty tracker)
- Version
- 26.x
- Category
- Regression
- Feature
- Search
- Resolution status
- New
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
On a Tiki26 using Manticore I have a tracker where the items don't have a value for a field.
In my case the tracker has been emptied to prepare a new season in a business.On a Wiki page I have a plugin that uses this field as filter:
Copy to clipboard{filter content="No" field="tracker_field_covidHealthDeclarationApproval"}
As there is no item yet, the page displays "Class "Search\Manticore\TikiFilter" not found".
This not very good to be displayed.
But the thing is that this problem will also break the index:rebuild action as soon as it hit the page.
This leaves the index partially created.Copy to clipboardxxx@bsfez:~/public_html$ php8.1 console.php i:r -p --log [16-07-2023 13:44] Started rebuilding index... Logging to file(s): * /home/xxx/public_html/temp/Search_Indexer_manticore_tiki26_console.log Unified search -------------- Engine: Manticore, version 6.0.4 1a3a4ea82@230314 (columnar 2.0.4 5a49bd7@230306) (secondary 2.0.4 5a49bd7@230306) 3 mins/3 mins [==========================>-] -- Processing wiki page documentsA error was encountered while running a command Class "Search\Manticore\TikiFilter" not found on line 635 of /home/xxx/public_html/lib/core/Search/Manticore/Index.phpI don't recall any issue with such "empty" field in Tiki21 and Tiki24. (no results for the query, I think)
In Tiki25 it was ok also until a few weeks from now where, in such case, an error started to be displayed. (The page is visible and the index:rebuild can complete).This is the error displayed (re tested today after updating the Tiki25 version of the same site)
- Importance
- 7
- Easy to solve?
- 5
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8465
- Created
- Sunday 16 July, 2023 11:05:45 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Sunday 16 July, 2023 11:05:45 UTC