Deleting an item which is linked to does not work
- Status
- Open
- Subject
- Deleting an item which is linked to does not work
- Version
- 18.x
21.x - Category
- Bug
- Error
- Feature
- Trackers
- Resolution status
- Confirmed
- Submitted by
- Jean-Marc Libs
- Keep informed
- Jonny Bradley
- Lastmod by
- Jean-Marc Libs
- Rating
- Description
I have a tracker A with items
I have another tracker B with items with an itemLink field on tracker A itemsWhen I want to delete items from the tracer A using the "spanner → Delete" to the right end of the line it tells me how many other items from tracker B link to it and lets me suggest a replacement link. Then I can delete them all.
Issues:
- no itemlinks are modified in tracker B
- The entry from tracker A is not deleted
--I can't reproduce fully on show.tiki.org yet:
I delete Item "Mrs. HHHHHH" from http://jyhem-9952-6871.show.tikiwiki.org/tiki-view_tracker.php?trackerId=2 while choosing to replace the occurence o
It fails to deleteI try to delete Student: Bacc. titem from http://jyhem-9952-6871.show.tikiwiki.org/tiki-view_tracker.php?trackerId=1 (see attachment)
On step 2 (see attachment), I ask to replace the link to 'Student: Bacc. with links to 'Student: M.Sc.. Then I click on "Delete item".It DOES change the link on http://jyhem-9952-6871.show.tikiwiki.org/tiki-view_tracker_item.php?itemId=18 from Student: Bacc. with links to 'Student: M.Sc., which is not the case on my production site…
It still fails to actually delete the item, but that was not the biggest issue (it can be deleted once nothing links to it).I'll try again.
-After comparing the network queries from both sites, I feel the difference in behaviour is due to having sefurl in the real site and not on show.tiki.org.
More interestingly, I got the same error message in both situations, so we do have something to fix.
Copy to clipboard[Fri Oct 19 17:21:22.867750 2018] [:error] [pid 13504] [client 90.126.49.74:59730] PHP Fatal error: Call to a member function getLanguageField() on boolean in /var/www/jyhem-9952-6871/lib/core/Tracker/Field/Language.php on line 99, referer: http://jyhem-9952-6871.show.tikiwiki.org/tiki-view_tracker.php?trackerId=1- Files
- 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
- 6871
- Created
- Thursday 18 October, 2018 20:53:00 UTC
by Jean-Marc Libs - LastModif
- Saturday 06 July, 2024 10:21:44 UTC