Trackers, Dynamic List and Item Link fields; Field value is lost after parent item changed status (cascade parameter not applied?)
- Status
- Open
- Subject
- Trackers, Dynamic List and Item Link fields; Field value is lost after parent item changed status (cascade parameter not applied?)
- Version
- 25.x
- Category
- Regression
- Feature
- Trackers
- Resolution status
- New
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Related-to
-
- Trackers, Dynamic List field; Dynamic List fields throws error when rebuilding the index if its parent field has no value
- Trackers, Dynamic List; New errors in the Search Indexer console log after update
- 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
This was in use as is since Tiki21 or Tiki22 and they were no noticeable issues even after upgrading from Tiki24 to Tiki25. This is a regression from inside Tiki25 branch.
On a tracker I have items with an itemLink and a dynamicList depending of this itemLink.
Both are set to filter "open" items.The itemLink (parent) has its parameter "Cascade actions" set to "No".
Elements to cascade when the master is updated or deleted. Categories may conflict if multiple item links are used to different items attempting to manage the same categories. Same for status.
At the time of the creation of an item I selected a value from a parent tracker for the itemLink and one of the possible value for the dynamicList.
At that time all items (children and parents included) were open.
As it is an "event" selection for a trackeritem. (holiday selection).
When the event time was over I close the parent item so user can't select it anymore knowing that the "Cascade actions" was set to "No". This was in use as is since Tiki21 or Tiki22 and they were no noticeable issues even after upgrading from Tiki24 to Tiki25.Recently I have issues when rebuilding the index and I found out that all children values were gone.
The parent itemLink is now close.
The child itemLink has been lost its value (changing the filter doesn't allow to retrieve the previous value)
The dynamicList that is dependent of the itemLink above has also lost its value.Rebuilding the index display an error about empty values. Reported at: https://dev.tiki.org/item8437-Trackers-Dynamic-List-field-Dynamic-List-fields-throws-error-when-rebuilding-the-index-if-its-parent-field-has-no-value
- Importance
- 10 high
- Easy to solve?
- 5
- Priority
- 50
- 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
- 8440
- Created
- Tuesday 27 June, 2023 08:02:17 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Tuesday 27 June, 2023 19:24:35 UTC