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

Using Panel With Title Bakground Color Name Will Cause The Visual Editing Failed to Save

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 8.14.1, 8.15.0
    • 7.3.0, 7.6.0, 7.9.1, 7.9.2, 7.11.0, 7.11.1
    • Rich Text Editor

      Summary

      When using panel with a title background color name (does not impacting color code), will cause the text updated in the panel failed to save. For example:-

      {panel:title=ToDos|titleBGColor=blue}
      Some Text
      {panel} 
      

      Paste it into your description or comment and save it. Then edit it in visual mode, and save it again. The edited text will not be save.
      It does not cause issue if we using color code instead of color name.

      {panel:title=ToDos|titleBGColor=#FF0000}
      Some Text
      {panel}

      Environment

      JIRA Version : Tested on JIRA 7.3,7.6,7.9, and 7.9.1

      Steps to Reproduce

      1. Copy below panel into your description:-
        {panel:title=ToDos|titleBGColor=blue}
        Some Text
        {panel} 
        
      2. Save it and it should showing panel with title background color blue
      3. Edit it in visual mode and save it again
      4. The edited text will not be saved.
        Does not happen if we use color code instead.
        If we using Text Editing mode, it working fine.

      Expected Results

      The panel should save updated text.

      Actual Results

      The panel does not save and revert to the original text.

              cf7069360d7e Mateusz Witkowski
              dkoh Danson (Inactive)
              Votes:
              22 Vote for this issue
              Watchers:
              20 Start watching this issue

                Created:
                Updated:
                Resolved: