Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-68875

Not able to edit description when using panel with bgColor, e.g. bgColor=white

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.13.0, 7.12.1, 9.4.20
    • Issue - View Issue

    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

      1. Create an issue.
      2. Add a panel in the description with the bgColor parameter like so:
        {panel:title=My title|titleBGColor=white}
        Some text with a title
        {panel}
        
      3. Save the description.
      4. Click on the description to edit again.
      5. Select visual mode.
      6. Change the description(without removing the panel or the bgColor).
      7. Save the edition.

      Expected behavior

      The description is saved with the changes you've made.

      Actual behavior

      The description doesn't change.

      Workaround

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkaras Mauricio Karas (Inactive)
            Votes:
            15 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated: