Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-98314

Saving the Status macro by using the 'Enter' button makes the macro disappear in Firefox

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 9.2.0
    • 9.1.0, 8.5.14, 8.5.16
    • Macros - Other Macros
    • None

      Issue Summary

      While using Firefox, if the user copy/past a Status macro, change its details and tries to save it by using 'Enter' keybord button (not clicking 'Save' in the macro edit modal), makes the macro disappear.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Create a page and add one Status macro and using 'Edit Status Macro' modal change the details: title:test color:gray
      2. Save the page
      3. Enter the edit mode again, copy and paste the Status macro that we created in the first step
      4. Double click the second Status macro (that we just pasted) to open the 'Edit Status Macro' modal and change the title (and the color): name:test2 color:gray - change the colour using mouse, do not navigate to it using keyboard Tab!
      5. Don't click 'Save' button in the modal using mouse, instead use 'Enter' keyboard button.

      Expected Results

      The macro should be saved with the new details entered and become visible in the page content.

      Actual Results

      The macro disappear from the page content. See the videos added as attachments to the bug report.

      The below error is displayed in the Browser Console logs:

      [EDITOR] The node to be replaced has been already deleted from the document
      

      Workaround

      The behaviour do not occur:

      • While using Chrome (or Chrome based browsers)
      • If user use mouse to click 'Save' button to save macro details.

            [CONFSERVER-98314] Saving the Status macro by using the 'Enter' button makes the macro disappear in Firefox

            This bug specifically occurs only when the colour is changed using mouse. If the user navigates to the colour select field using the keyboard, it works without any issues.

            Jiri Hronik added a comment - This bug specifically occurs only when the colour is changed using mouse. If the user navigates to the colour select field using the keyboard, it works without any issues.

              20f00d30f8b9 Franco Skrzypczak
              9f7de485df51 Basar Beykoz
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: