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

Macros break in concurrent editing/saving

    XMLWordPrintable

Details

    Description

      When editing the same page by two people in two different browsers, it appears that a few macros break upon save, even if they/their section of the page was never edited.

      For example, I create a new page from the out-of-box Product Requirements Confluence template*. Save page. Now I edit the page, while in edit mode, a colleague also edits that page. He saves (macro appears as it should). Now I save (now the macro is broken). The typical flow and correct flow is that if the same section/piece were edited by both people, the second person to save would receive a merge conflict notification. If both people edited different sections then no conflict arrises and it saves fine.

      However, in either case, no matter if the same section was edited or different sections were edited, the status macro (that comes with the template) now presents a "Broken Macro" error on the page for the second person who saves. When you edit the page, it still has that error; you have to delete it and re-insert the macro. This same behavior occurs with the Column macro inside the section macro. This behavior did not occur with the Section macro itself, but once the Column macro was inside the Section macro, it then produced the same "Broken Macro" error.

      This was tested in Safari and Chrome, producing the same results.

      *Note: the Product Requirements template was only used as an example. This same error occurs even from creating standard Blank Pages.

      Error log attached.

      Attachments

        1. broken-column-macro.png
          broken-column-macro.png
          44 kB
        2. broken-status-macro.png
          broken-status-macro.png
          70 kB
        3. errors.log
          37 kB
        4. normal-column-macro-page.png
          normal-column-macro-page.png
          52 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              5964aa362d2d Adam Henry
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: