Loading...
 

Deleting an item which is linked to does not work

Status
Closed
Subject
Deleting an item which is linked to does not work
Version
18.x
Category
  • Bug
Feature
Trackers
Resolution status
New
Submitted by
Jean-Marc Libs
Lastmod by
Jean-Marc Libs
Rating
(0)
Description

I have a tracker A with items
I have another tracker B with items with an itemLink field on tracker A items

When 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 delete

I 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.

[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
Importance
7
Priority
35
Demonstrate Bug
Please demonstrate your bug on show2.tikiwiki.org
 About show2.tikiwiki.org

To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tikiwiki.org instance. To start, simply select a version and click on "Create show2.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tikiwiki.org.

Version: Create show2.tikiwiki.org instance
Ticket ID
6871
Created
Thursday 18 October, 2018 20:53:00 GMT-0000
LastModif
Thursday 02 April, 2020 22:53:21 GMT-0000

Attachments

 filenamecreatedhitscommentversionfiletype 
Screenshot_20181018_224944.png 18 Oct 18 22:23 GMT-00000Step 2
Screenshot_20181018_224622.png 18 Oct 18 22:22 GMT-00000That's step 1


Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools