Loading...
 
Skip to main content

Tracker textarea fields with toolbars are buggy without tracker_legacy_insert

Status
Open
Subject
Tracker textarea fields with toolbars are buggy without tracker_legacy_insert
Version
15.x
17.x
Category
  • Error
Feature
Trackers
Resolution status
New
Submitted by
Philippe Cloutier
Lastmod by
Philippe Cloutier
Rating
(0)
Description

When creating or editing a tracker item, multi-line fields (text areas) can offer a toolbar, as wiki pages do. This works fine if the 'Use legacy tracker insertion screen' (tracker_legacy_insert) preference is enabled, but otherwise there are several bugs. Notably:

  1. The tooltips supposed to use Bootstrap popover are not processed, so they display as native titles, starting with a colon.
  2. The tools to insert internal and external links are sometimes unusable, at least in Firefox 53. The dialog appears, but clicking the text fields does not focus them. This does not happen in Google Chrome.
  3. Clicking the question mark quietly closes the edition dialog, losing the changes.


Yet, there are no JavaScript errors. I guess issue #1 occurs because the JavaScript for popovers runs on page initialization, so it does not catch popovers added to the DOM later. Other issues are probably similar, but I tried debugging issue #3 using Chrome developer tools unsuccessfuly. I fail to see an event listener on the question mark icon. I do not understand why the dialog would close when clicking if no JavaScript is run. There is no HTTP request when clicking.

The new edition screen was added notably in r50712 and r50714. This affects Tiki 15, 16, 17 and trunk (as of r63265). I set Importance to 8 because issue #3 can cause a certain data loss. I am surprised not to find an existing report of this bug since the field I am filling right now is affected by this problem.

Workaround

Enable the 'Use legacy tracker insertion screen' (tracker_legacy_insert) preference

Considering that proper solution(s) may take time, should we enable this preference by default meanwhile as a temporary solution?

Importance
8
Easy to solve?
3
Priority
24
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6401
Created
Monday 17 July, 2017 17:55:39 UTC
by Philippe Cloutier
LastModif
Tuesday 20 February, 2018 21:00:10 UTC


Show PHP error messages