Status Macro colors are formatted incorrectly in edit mode after upgrading Confluence

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 7.6.2, 7.9.0, 7.10.2, 7.13.7, 7.19.1, 7.19.3, 9.0.3
    • Component/s: Macros - Other Macros
    • None
    • 16
    • Severity 3 - Minor
    • 3

      Issue Summary

      Status is invisible in edit mode when using Status Macro 

      Steps to Reproduce

      1. Install Confluence 7.1.1
      2. Create a page that includes Status Macro.
      3. Upgrading Confluence from 7.1.1 to 7.6.2 and restore the content
      4. On viewing the restored page in 7.6.2 in edit mode, the status is invisible.

      I noticed the issue is not seen on the newly added Status Macro to the restored page. 

      Expected Results

      Status colors to be displayed correctly in edit mode.

       

       

      Actual Results

      Status colors are not displayed/formated correctly in edit mode. 

       

       

      Workaround

      Temporary Workaround

      1. Navigate to General Configuration > Stylesheet
      2. Add the following snippet there - the color codes are taken from Lozenges - AUI Documentation
        .status-macro.aui-lozenge {
            background-color: #DFE1E6;
            border-color: #DFE1E6;
            color: #42526E;
        }
        
        .status-macro.aui-lozenge.aui-lozenge-error {
            background-color: #BF2600;
            border-color: #BF2600;
            color: #FFFFFF;
        
        }
        
        .status-macro.aui-lozenge.aui-lozenge-success {    
            background-color: #00875A;
            border-color: #00875A;
            color: #FFFFFF;
        }
        
        .status-macro.aui-lozenge.aui-lozenge-removed {    
            background-color: #BF2600;
            border-color: #BF2600;
            color: #FFFFFF;
        }
        
        .status-macro.aui-lozenge.aui-lozenge-current {    
            background-color: #0052CC;
            border-color: #0052CC;
            color: #FFFFFF;
        }
        
        .status-macro.aui-lozenge.aui-lozenge-moved {    
        background-color: #FFF0B3;
            border-color: #FFF0B3;
            color: #172B4D;
        }
        
      3. Save the config

        1. image-2020-08-24-16-56-03-815.png
          image-2020-08-24-16-56-03-815.png
          55 kB
        2. image-2020-08-24-16-56-19-678.png
          image-2020-08-24-16-56-19-678.png
          51 kB
        3. Status.png
          Status.png
          103 kB
        4. Status2.png
          Status2.png
          67 kB

            Assignee:
            Unassigned
            Reporter:
            Shilpa R (Inactive)
            Votes:
            24 Vote for this issue
            Watchers:
            27 Start watching this issue

              Created:
              Updated: