Loading...
 
Skip to main content

Tracker, validation; Editing an existing item with a validation option set as distinct cannot be saved (considered as a second item)

Status
Closed
Subject
Tracker, validation; Editing an existing item with a validation option set as distinct cannot be saved (considered as a second item)
Version
25.x
26.x
27.x
master
Category
  • Conflict of two features (each works well independently)
  • Consistency
Feature
Trackers
Resolution status
Confirmed
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Related-to
Description

As seen on the video attached, In a Tiki25 I use trackers with an IP field. The validation for this field is set to distinct.

If I later edit an existing item it will be impossible to save it. It seems like the code view it as a new item instead of an existing item I modify.

Due to this problem, I can't modify (and save) the item: validation will failed (an item with this IP exist already)

In the video attached we can see that I can't change the status from Open to Close.

Notes: If I do the same operation using the Tiki Trackers list view (batch actions) it work just fine.

Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8347
Created
Saturday 25 February, 2023 06:05:26 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Saturday 19 April, 2025 17:44:28 UTC


Show PHP error messages