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

Duplicate Content Shown When Editing A Page After Modifying An Attachment

      Note

      The fix has been backported.

      We have confirmed that plugins that interact with attachments during the process of saving or creating pages can also trigger this issue. This behaviour significantly expands the impact of the issue as it is not apparent to the user that a plugin is interacting with attachments in the background. We believe this drove a significant number of previous duplication reports prior to the fix.

      For more information about this and related content duplication issues, please see the discussion at Confluence Server and Data Center: Content duplication fix and next steps - Atlassian Community.

      Issue Summary

      When editing a page, the page content, or a subset of the page content is duplicated. The behaviour occurs after an attachment is edited on the page and the page published or saved rapidly thereafter.

      Steps to Reproduce

      The behaviour can be replicated with the below steps. These steps will reliably reproduce the issue, but are not he only way the issue presents. We DO NOT recommend taking these steps outside of testing environments

      Example 1

      1. Create a page with text and at least one attachment like an image
      2. Publish the page
      3. Perform a hard data eviction in Synchrony (this step is used to reliably reproduce the issue as a proxy of other internal operations)
      4. Navigate to the attachments list on the page created in Step 1
      5. Edit an existing attachment, or upload a new attachment
      6. Return to the page and edit it
      7. The content appears duplicated

      Example 2

      1. Create a page (page A) with text
      2. Publish page A
      3. Create a new page (page B) with text, and paste a link to page A to create a mention
      4. Publish page B
      5. Perform a hard data eviction in Synchrony (this step is used to reliably reproduce the issue as a proxy of other internal operations)
      6. Navigate to page A and either upload a new attachment, or modify an existing one
      7. Return to page A and edit it
      8. The content of page A appears duplicated
      9. Navigate to page B and edit it
      10. The content of page B appears duplicated without having interacted directly with the page

      Expected Results

      The editor should only display the page content without duplication.

      Actual Results

      The content appears to be duplicated in edit mode, and publishing the page results in the duplicated content being visible in view mode.

      Workaround

      1. In the Editor, click the Ellipsis (...) symbol
      2. Click Revert to last published version

          Form Name

            [CONFSERVER-69074] Duplicate Content Shown When Editing A Page After Modifying An Attachment

            Hi All,

            d64ffd6b4aa8 - What b03c514954d7 has indicated is correct. I have a bit of an explanation of how the versions work in the comment section of this post Confluence Server and Data Center: Content duplication fix and next steps - Atlassian Community.

            986c16497dab - Please review Confluence Server and Data Center: Content duplication fix and next steps - Atlassian Community to understand the fix and for next steps if you feel you're still encountering the bug.

            We still haven't seen any new reports, but we'll keep looking to make sure.

            Thanks,
            James Ponting
            Engineering Manager - Confluence Data Center

            James Ponting added a comment - Hi All, d64ffd6b4aa8 - What b03c514954d7 has indicated is correct. I have a bit of an explanation of how the versions work in the comment section of this post Confluence Server and Data Center: Content duplication fix and next steps - Atlassian Community . 986c16497dab - Please review Confluence Server and Data Center: Content duplication fix and next steps - Atlassian Community to understand the fix and for next steps if you feel you're still encountering the bug. We still haven't seen any new reports, but we'll keep looking to make sure. Thanks, James Ponting Engineering Manager - Confluence Data Center

            We are using 7.13.4. But the bug is still occurs. This fix not works

            Guy Marcelin Nougouapi Welenji added a comment - We are using 7.13.4. But the bug is still occurs. This fix not works

            Mmm...

            7.4.15 if you are using 7.4.x

            7.13.4 if you are on 7.13.x

            and 7.15 if you're doing a point upgrade

             

            [Fix Version/s:   7.15.0, 7.4.15, 7.13.4]

            Bill Taroli added a comment - Mmm... 7.4.15 if you are using 7.4.x 7.13.4 if you are on 7.13.x and 7.15 if you're doing a point upgrade   [Fix Version/s:   7.15.0, 7.4.15, 7.13.4]

            Nicola J added a comment -

            Maybe but it says 7.4.15 & most of us are way past that version....

            Nicola J added a comment - Maybe but it says 7.4.15 & most of us are way past that version....

            One might suppose that confirming the issue still occurs on a release that isn't fully patched would be expected, yes? Unless something changed, the issue is only confirmed fixed in 7.13.4.

            Bill Taroli added a comment - One might suppose that confirming the issue still occurs on a release that isn't fully patched would be expected, yes? Unless something changed, the issue is only confirmed fixed in 7.13.4.

            Nicola J added a comment -

            We have 7.13.0 no attachments and it happens ...

            Nicola J added a comment - We have 7.13.0 no attachments and it happens ...

            Hi,

            We use 7.13.2 version. I tried to simulate the bug with attachements but the content was not dulicated. It doesn't happen regularly and I couldn't find the root cause.

             

            Best regards,

            Raluca

            Raluca Velcherean added a comment - Hi, We use 7.13.2 version. I tried to simulate the bug with attachements but the content was not dulicated. It doesn't happen regularly and I couldn't find the root cause.   Best regards, Raluca

            Hi All,

            Just a final update on this one.

            We've continued to monitor the support channels and these issues for additional confirmed reports of content duplication, and thus far we've not received any reports that point towards new instances of duplicated content. With this, we believe that the issue has been fixed. As always, if anyone is able to provide a replication or a report file that shows new duplication, we'll investigate immediately.

            Moving forward, we're going to discontinue actively monitoring these issue tickets for additional reports, and instead ask that you submit any reports, should new duplication occur, to the support team at https://support.atlassian.com.

            Thanks once more for all the understanding and help investigating these issues.

            Regards,
            James Ponting
            Engineering Manager - Confluence Data Center

            James Ponting added a comment - Hi All, Just a final update on this one. We've continued to monitor the support channels and these issues for additional confirmed reports of content duplication, and thus far we've not received any reports that point towards new instances of duplicated content. With this, we believe that the issue has been fixed. As always, if anyone is able to provide a replication or a report file that shows new duplication, we'll investigate immediately. Moving forward, we're going to discontinue actively monitoring these issue tickets for additional reports, and instead ask that you submit any reports, should new duplication occur, to the support team at https://support.atlassian.com . Thanks once more for all the understanding and help investigating these issues. Regards, James Ponting Engineering Manager - Confluence Data Center

            Hi All,

            We're still yet to see any signs of the issue recurring, but are continuing to monitor these issues and our normal support contact points.

            986c16497dab - Can I please get you to review the Understanding The Fixes section of the community post. If you're still seeing the issue outside of the expectations detailed there, can you please capture the diagnostic information and submit a support ticket using the instructions on that page?

            4dc555c60032 - Could you please also review the information just above? With regards to the plugins, our findings were that the plugins were calling the Atlassian code that caused the duplication behind the scenes. So you could end up with duplication without touching an attachment because a plugin would interact with the code in a similar way. With the fix implemented here, we should have resolved the issue in our code that the plugins were triggering. We don't believe the plugins to cause duplication, but rather trigger it.

            Hopefully this helps clear some things up

            Thanks,
            James Ponting
            Premier Support Engineer

            James Ponting added a comment - Hi All, We're still yet to see any signs of the issue recurring, but are continuing to monitor these issues and our normal support contact points. 986c16497dab - Can I please get you to review the Understanding The Fixes section of the community post. If you're still seeing the issue outside of the expectations detailed there, can you please capture the diagnostic information and submit a support ticket using the instructions on that page? 4dc555c60032 - Could you please also review the information just above? With regards to the plugins, our findings were that the plugins were calling the Atlassian code that caused the duplication behind the scenes. So you could end up with duplication without touching an attachment because a plugin would interact with the code in a similar way. With the fix implemented here, we should have resolved the issue in our code that the plugins were triggering. We don't believe the plugins to cause duplication, but rather trigger it. Hopefully this helps clear some things up Thanks, James Ponting Premier Support Engineer

            Hi,

            The bug still occurs in 7.13.4.
            In case some plugins might be responsible for the persisting issue I would appreciate an information regarding problematic plugins.

            Julian Schmidt added a comment - Hi, The bug still occurs in 7.13.4. In case some plugins might be responsible for the persisting issue I would appreciate an information regarding problematic plugins.

              dluong Duy Truong Luong
              jponting James Ponting
              Affected customers:
              116 This affects my team
              Watchers:
              219 Start watching this issue

                Created:
                Updated:
                Resolved: