Loading...
 
Skip to main content

Error on tracker first creation - error text is confusing and wrong: Field tracker_id does not exist in the current index. If this is a tracker field, the proper syntax is tracker_field_tracker_id.

Status
Closed
Subject
Error on tracker first creation - error text is confusing and wrong: Field tracker_id does not exist in the current index. If this is a tracker field, the proper syntax is tracker_field_tracker_id.
Version
19.x
Category
  • Consistency
  • Regression
  • Usability
  • Indexing
Feature
Trackers
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Volunteered to solve
Victor Emanouilov
Lastmod by
Bernard Sfez / Tiki Specialist, Marc Laporte, Victor Emanouilov
Rating
(0)
Description

On Tiki19
Last update from SVN (19.0svn): Thursday September 27, 2018 12:59:03 IDT - REV 67702 (InnoDB)

I create a first tracker after enabling the feature.

It show the following error:
Field tracker_id does not exist in the current index. If this is a tracker field, the proper syntax is tracker_field_tracker_id.

It shouldn’t show and error.
Eventually an info about re-indexing but would be better to do the job (first tracker is likely to be done by a new guy).

Solution

Fixed with:
19.x: r67867
trunk: r67868

The issue was not the error message but the fact that tracker properties page searched for the list of tracker fields to display a select element while there were no tracker fields in the search index - this means the tracker_id column was not in the search index and thus the invalid query. We now ignore such query errors that don't make sense to display to the user - returning silently an empty list of fields is all we need in that situation.

Importance
8
Easy to solve?
8
Priority
64
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6831
Created
Wednesday 03 October, 2018 06:09:36 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Friday 12 October, 2018 14:53:28 UTC


Show PHP error messages