Loading...
 
Skip to main content

Can't remove the last related item from Relations fields

Status
Pending
Subject
Can't remove the last related item from Relations fields
Version
18.x
19.x
20.x
Category
  • Bug
Feature
Trackers
Resolution status
New
Submitted by
Jonny Bradley
Volunteered to solve
Jonny Bradley
Lastmod by
Jonny Bradley
Rating
(0)
Description

Once you have related something using a Relations field (or I imagine any other ways you can relate objects) you cannot remove the last related object, only change it to something else.

We had a similar issue with category checkboxes a while ago, it's because once none of the checkboxes are checked the request doesn't contain anything of that name so the field doesn't get updated.

Note: This for me is when the number of possible results is more than tiki_object_selector_threshold and the objects are shown as checkboxes - but others report it works ok... hmmm

Solution

Finally r69934Question in trunk and 19.x so far, to be backported to 18.x if ok

Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7073
Created
Tuesday 07 May, 2019 10:41:18 UTC
by Jonny Bradley
LastModif
Tuesday 07 May, 2019 16:58:28 UTC


Show PHP error messages