Loading...
 
Skip to main content

Editing a comment for a trackeritem does not update the comment using codemirror

Status
Open
Subject
Editing a comment for a trackeritem does not update the comment using codemirror
Version
14.x
Category
  • Error
Feature
Comment
Trackers
Resolution status
New
Submitted by
WolfgangA
Lastmod by
WolfgangA
Rating
(0)
Description

When editing a comment assigned to a trackeritem, the comment doe not update after save.
This happens only when codemirror is used.
When toogle "Highlighter" two times before hitting save, then the updated comment will be saved.
The reason seems to be that upon save, the updated comment is not read from the codemirror data structure, but from the initially loaded content saved in the textarea.

I was able to debug to the point where the POST request happens. That is tiki-jquery.js arround line 1740. There the wrong value is taken. Mabye also autosave.js is involved as well.






Importance
6
Easy to solve?
7
Priority
42
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
5550
Created
Sunday 08 February, 2015 12:56:26 UTC
by WolfgangA
LastModif
Sunday 08 February, 2015 18:18:39 UTC


Collapse/expand modules below
Show PHP error messages