Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.13.0, 7.12.1, 9.4.20
-
7.12
-
6
-
Severity 3 - Minor
-
1
-
Description
Summary
It's not possible to edit the description field in the issue if the text contains a panel with "bgColor" using the name of the color instead of the hexadecimal representation. This only happens if you edit the issue in the "Visual" mode, on "Text" mode it works fine.
Steps to reproduce
- Create an issue.
- Add a panel in the description with the bgColor parameter like so:
{panel:title=My title|titleBGColor=white} Some text with a title {panel}
- Save the description.
- Click on the description to edit again.
- Select visual mode.
- Change the description(without removing the panel or the bgColor).
- Save the edition.
Expected behavior
The description is saved with the changes you've made.
Actual behavior
The description doesn't change.
Workaround
- Change the color name to its hexadecimal representation.
- Edit the comment using the text mode.
Note
If you look in the payload of the "/secure/AjaxIssueAction.jspa?decorator=none" POST call you can see that the description is sent without the changes made.