Loading...
 
Skip to main content

Erroneous field feedback error on Tiki (using ElasticSearch)

Status
Closed
Subject
Erroneous field feedback error on Tiki (using ElasticSearch)
Version
22.x
23.x
Category
  • Error
  • Regression
Feature
File Gallery (elFinder or standard UI)
Trackers
Resolution status
Out of Date
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

I use ElasticSearch on a Tiki 22 and I have a weird error while browsing file gallery (in English).

Copy to clipboard
Error • Malformed search query: Parsing search query failed: "Field name does not exist in the current index. If this is a tracker field, the proper syntax is tracker_field_name."


Reproduced on local:
Image


I could track the error feedback that is generated from "lib/core/Search/Elastic/OrderBuilder.php" line 81.

Something in the condition : if ((empty($mapping) || emptyarray)$mapping && $prefs'search_error_missing_field' === 'y') {

Initiate the feedback.



It happened also while I was updating a field (f_174) using the tracker interface inline. (in Hebrew)
The field is a dropdown field type.
The field exist and the change was saved.

{CODE()}
שגיאה
Malformed search query: Parsing search query failed: "Field f_174 does not exist in the current index. If this is a tracker field, the proper syntax is tracker_field_f_174."
{CODE}

Image

Now it keep showing each time I do anything on tracker, even listing them all.


Still there on Tiki23:
Image

Importance
6
Easy to solve?
5
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7809
Created
Monday 09 August, 2021 19:19:09 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Monday 29 August, 2022 06:45:28 UTC


Show PHP error messages