Fullscreen
Loading...
 
Skip to main content

Sort control block used in the plugin List should (was) accommodate with empty values

Status
Closed
Subject
Sort control block used in the plugin List should (was) accommodate with empty values
Version
27.x
Category
  • Regression
  • Easy for Newbie Dev
Feature
Search
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

On a Tiki27 I have a plugin list with this sort control block to display trackeritems;


Not all my items have a value for this field.

A few week or month ago it wasn't a problem and nothing were shown in the search-index logs.

After updating this project with the last Git branch 27.x i have a warning for each item without a value in the field.

Copy to clipboard
2025-07-26T07:40:12+00:00 INFO (6): addDocument wiki page PageName {"memoryUsage":"53.0 MiB","memoryAvail":"73.5 MiB"} 2025-07-26T07:40:20+00:00 ERR (3): NOTICE: Undefined array key "incat" {"code":1024,"file":"/Users/blabla/Documents/blabla/www/htdocs/domain_tiki27/temp/templates_c/en_basic^c992f36a1145d5fb2232 2025-07-26T07:40:20+00:00 ERR


The code should be handling case when a field has no value.

Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8798
Created
Saturday 26 July, 2025 08:29:55 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Wednesday 17 September, 2025 08:38:57 UTC


Show PHP error messages