Loading...
 
Skip to main content

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
(0)
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".
Image

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 clipboard
xxx@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.php

To help in the diagnostic and what was going on in the same case with previous version

I 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)
Image

Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
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


Show PHP error messages