Trackers, Dynamic List; New errors in the Search Indexer console log after update
- Status
- Open
- Subject
- Trackers, Dynamic List; New errors in the Search Indexer console log after update
- Version
- 25.x
- Category
- Error
- Regression
- Resolution status
- Confirmed
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Related-to
-
- Trackers, Dynamic List; It has been broken and does no display the list of values
- Trackers, Dynamic List and Item Link fields; Field value is lost after parent item changed status (cascade parameter not applied?)
- Trackers, Dynamic List field; Dynamic List fields throws error when rebuilding the index if its parent field has no value
- Trackers, Dynamic List; If the parent item of a dynamic field is closed the console throw an error but no data is lost due to tracker status filter set to all (variant of a previous report)
- Description
I worked on a Tiki25 that wasn't updated since the 5th of April 2023.
The Search Indexer console.log wasn't displayed any error when rebuilding the index, see below:2023-05-04T06:02:36+00:00 INFO (6): addDocument trackeritem 69 {"memoryUsage":"32.0 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:02:36+00:00 INFO (6): addDocument trackeritem 70 {"memoryUsage":"32.0 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:02:36+00:00 INFO (6): addDocument trackeritem 298 {"memoryUsage":"32.0 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:02:36+00:00 INFO (6): addDocument trackeritem 326 {"memoryUsage":"32.0 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:02:36+00:00 INFO (6): addDocument trackeritem 330 {"memoryUsage":"33.5 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:02:36+00:00 INFO (6): addDocument trackeritem 355 {"memoryUsage":"33.5 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:02:36+00:00 INFO (6): addDocument trackeritem 381 {"memoryUsage":"33.5 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:02:36+00:00 INFO (6): addDocument trackeritem 397 {"memoryUsage":"33.5 MiB","memoryAvail":"93.5 MiB"}
I Adrien Mbuya Maloba's avatar
ENH Index, Trackers-DynamicList field : Add to the search index the text of...
After I updated and added everything that was committed between the 5/04/2023 and the 4/05/2023 I have now new errors in: /temp/Search_Indexer_mysql_bernardsfez_tiki25_console.log about the DynamicList2023-05-04T06:11:26+00:00 INFO (6): addDocument trackeritem 69 {"memoryUsage":"32.0 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:11:27+00:00 INFO (6): addDocument trackeritem 70 {"memoryUsage":"32.0 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:11:27+00:00 ERR (3): Field 169 / Running Solutions: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/home/xxx/public_html/lib/core/Tracker/Field/DynamicList.php","line":305}
2023-05-04T06:11:27+00:00 INFO (6): addDocument trackeritem 298 {"memoryUsage":"32.0 MiB","memoryAvail":"93.5 MiB"}
2023-05-04T06:11:27+00:00 ERR (3): Field 169 / Running Solutions: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/home/xxx/public_html/lib/core/Tracker/Field/DynamicList.php","line":305}
...
I suspect it is related to one of the recent commits: https://gitlab.com/tikiwiki/tiki/-/merge_requests?scope=all&state=merged&search=dynamic
Update 2023-06-26:
The error is still here, just moved two lines.Case one:
Copy to clipboard2023-06-26T11:29:47+03:00 INFO (6): addDocument trackeritem 714 {"memoryUsage":"41.7 MiB","memoryAvail":"81.5 MiB"} 2023-06-26T11:29:47+03:00 ERR (3): Field 189 / Rate: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:29:47+03:00 ERR (3): Field 181 / Employee id - Not sure it is needed: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:29:47+03:00 INFO (6): addDocument trackeritem 818 {"memoryUsage":"41.7 MiB","memoryAvail":"81.5 MiB"} 2023-06-26T11:29:47+03:00 ERR (3): Field 189 / Rate: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:29:47+03:00 ERR (3): Field 181 / Employee id - Not sure it is needed: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307}
This item is closed.
Field 189 (Status Filter = open, pending) is empty.
It is pointing to an item in another tracker that has been deleted.This item is closed.
Field 181 (Status Filter = all) has a value.
It is pointing to an item in another tracker that has been deleted.
Case two:Copy to clipboard2023-06-26T11:29:48+03:00 INFO (6): addDocument trackeritem 552 {"memoryUsage":"42.2 MiB","memoryAvail":"81.5 MiB"} 2023-06-26T11:29:48+03:00 ERR (3): Field 320 / Holidays camps days: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:29:48+03:00 ERR (3): Field 469 / Kind of product: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:29:48+03:00 ERR (3): Field 317 / Cost: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:29:48+03:00 INFO (6): addDocument trackeritem 553 {"memoryUsage":"42.3 MiB","memoryAvail":"81.5 MiB"} 2023-06-26T11:29:48+03:00 ERR (3): Field 320 / Holidays camps days: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:29:48+03:00 ERR (3): Field 469 / Kind of product: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:29:48+03:00 ERR (3): Field 317 / Cost: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307}
This item is closed.
Field 320 (Status Filter = open) is empty.
It is pointing to an item in another tracker that has been closed.Field 469 (Status Filter = all) is empty.
It is pointing to an item in another tracker that has been deleted.Field 317 (Status Filter = open, pending) has a value.
It is pointing to an item in another tracker that has been closed.Case three:
Copy to clipboard2023-06-26T11:29:57+03:00 INFO (6): addDocument trackeritem 1547 {"memoryUsage":"43.6 MiB","memoryAvail":"79.5 MiB"} 2023-06-26T11:29:57+03:00 ERR (3): Field 454 / Child name: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:29:57+03:00 INFO (6): addDocument trackeritem 1548 {"memoryUsage":"43.6 MiB","memoryAvail":"79.5 MiB"} 2023-06-26T11:29:57+03:00 ERR (3): Field 454 / Child name: NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307}
This item is open.
Field 454 (Status Filter = all) has a value (2 values).
It is pointing to an item in another tracker that has been closed.Case four:
(the user is using tracker2 to store information setup)
While no field is mentioned, it seems the error is reported for any users that have an empty value in an item list field (field118).Copy to clipboard2023-06-26T11:30:09+03:00 INFO (6): addDocument user גנון {"memoryUsage":"46.3 MiB","memoryAvail":"77.5 MiB"} 2023-06-26T11:30:09+03:00 ERR (3): NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:30:09+03:00 INFO (6): addDocument user ספז {"memoryUsage":"46.3 MiB","memoryAvail":"77.5 MiB"} 2023-06-26T11:30:09+03:00 ERR (3): NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307} 2023-06-26T11:30:09+03:00 INFO (6): addDocument user מושטקל {"memoryUsage":"46.3 MiB","memoryAvail":"77.5 MiB"} 2023-06-26T11:30:09+03:00 ERR (3): NOTICE: Undefined index: REQUEST_METHOD {"code":null,"file":"/Users/bernardsfez/Documents/Shocksite/www/htdocs/tsaharoniki.com_tiki25/lib/core/Tracker/Field/DynamicList.php","line":307}- 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
- 8400
- Created
- Thursday 04 May, 2023 06:30:21 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Wednesday 28 June, 2023 12:35:32 UTC