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

            Basar Beykoz made changes -
            Description Original: h3. 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)

            h3. Steps to Reproduce
             # Create a page and add one Status macro and using 'Edit Status Macro' modal change the details: name:test color:gray
             # Save the page
             # Enter the edit mode again, copy and paste the Status macro that we created in the first step
             # 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!
             # Don't click 'Save' button in the modal using mouse, instead use 'Enter' keyboard button.

            h3. Expected Results

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

            h3. 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:
            {noformat}
            [EDITOR] The node to be replaced has been already deleted from the document
            {noformat}

            h3. 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.
            New: h3. 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)

            h3. Steps to Reproduce
             # Create a page and add one Status macro and using 'Edit Status Macro' modal change the details: title:test color:gray
             # Save the page
             # Enter the edit mode again, copy and paste the Status macro that we created in the first step
             # 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!
             # Don't click 'Save' button in the modal using mouse, instead use 'Enter' keyboard button.

            h3. Expected Results

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

            h3. 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:
            {noformat}
            [EDITOR] The node to be replaced has been already deleted from the document
            {noformat}

            h3. 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.
            Franco Skrzypczak made changes -
            QA Demo Status Original: Not Done [ 14330 ] New: Not Needed [ 14332 ]
            QA Kickoff Status Original: Not Done [ 14234 ] New: Not Needed [ 14236 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            Franco Skrzypczak made changes -
            Fix Version/s New: 9.2.0 [ 110293 ]
            Franco Skrzypczak made changes -
            Assignee New: Franco Skrzypczak [ 20f00d30f8b9 ]
            Jiri Hronik made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Jiri Hronik made changes -
            Description Original: h3. 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)

            h3. Steps to Reproduce
             # Create a page and add one Status macro and using 'Edit Status Macro' modal change the details: name:test color:gray
             # Save the page
             # Enter the edit mode again, copy and paste the Status macro that we created in the first step
             # 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
             # Don't click 'Save' button in the modal using mouse, instead use 'Enter' keyboard button.

            h3. Expected Results

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

            h3. 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:
            {noformat}
            [EDITOR] The node to be replaced has been already deleted from the document
            {noformat}

            h3. 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.
            New: h3. 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)

            h3. Steps to Reproduce
             # Create a page and add one Status macro and using 'Edit Status Macro' modal change the details: name:test color:gray
             # Save the page
             # Enter the edit mode again, copy and paste the Status macro that we created in the first step
             # 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!
             # Don't click 'Save' button in the modal using mouse, instead use 'Enter' keyboard button.

            h3. Expected Results

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

            h3. 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:
            {noformat}
            [EDITOR] The node to be replaced has been already deleted from the document
            {noformat}

            h3. 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.
            SET Analytics Bot made changes -
            Support reference count New: 1
            Basar Beykoz made changes -
            Summary Original: Saving Status macro by using 'Enter' button makes the macro dissappear in Firefox New: Saving the Status macro by using the 'Enter' button makes the macro disappear in Firefox
            Basar Beykoz made changes -
            Affects Version/s New: 8.5.14 [ 108954 ]
            Basar Beykoz made changes -
            Security Original: Reporter and Atlassian Staff [ 10751 ]

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

                Created:
                Updated:
                Resolved: