Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-72023

Linking certain pages on the roadmap planner macro will break the macro

      Issue Summary

      If we have a roadmap planner macro and we try to link a page that has a line break/ new line character on its title, the macro will break, causing the page to not be viewable/ editable.

      Steps to Reproduce

      1. Create a page A that contains a line break on its title
        The line break can be added either through copy+paste or by using the REST API
      2. Create page B with a roadmap planner on it
      3. Try to link page A on any of the roadmap's bars

      Expected Results

      The page should be linkable without problems

      Actual Results

      • Upon linking the page, it will display as broken macro:
      • The page won't render on view mode with the following error:
        We couldn't display your content
        
        Refresh the page and try again. If the problem persists, contact Atlassian Support.
      • And the page can't be edited with this error:
        We couldn't load the editor.
        Refresh the page and try again. If the problem persists, contact Atlassian Support.
      • The below exception is thrown in the browser's console:
        Invalid adf document SyntaxError: Unexpected token < in JSON at position 0
            at Object.parse (<anonymous>)
            at ContentRenderer.tsx:31
            at ContentRenderer.tsx:100
            at Ji (react-dom.production.min.js:153)
            at Bs (react-dom.production.min.js:175)
            at Fs (react-dom.production.min.js:175)
            at xa (react-dom.production.min.js:268)
            at mu (react-dom.production.min.js:246)
            at vu (react-dom.production.min.js:246)
            at au (react-dom.production.min.js:239)

      Workaround

      Contact us through https://support.atlassian.com/ mentioning this bug and a link to the affected page so we can remove the broken link for you.
      For support engineers: check the first internal comment for instructions.

        1. broken_roadmap.png
          broken_roadmap.png
          41 kB
        2. edit_mode.png
          edit_mode.png
          23 kB
        3. roadmap.PNG
          roadmap.PNG
          42 kB
        4. view_mode.png
          view_mode.png
          22 kB

            [CONFCLOUD-72023] Linking certain pages on the roadmap planner macro will break the macro

            Oksana Bodnar (Inactive) made changes -
            Resolution New: Cannot Reproduce [ 5 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            Oksana Bodnar (Inactive) made changes -
            Attachment New: roadmap.PNG [ 430555 ]
            Oksana Bodnar (Inactive) made changes -
            Labels Original: CNR New: CNR14
            Anna Zakharevych made changes -
            Labels New: CNR
            Bugfix Automation Bot made changes -
            Support reference count Original: 1 New: 2
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Erik Gui made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Guilherme T (Inactive) made changes -
            Description Original: h3. Issue Summary
            If we have a roadmap planner macro and we try to link a page that has a line break/ new line character on its title, the macro will break, causing the page to not be viewable/ editable.

            h3. Steps to Reproduce
            # Create a page A that contains a line break on its title
            The line break can be either added through copy+paste or using the REST API
            # Create page B with a roadmap planner on it
            # Try to link page A on any of the roadmap's bars

            h3. Expected Results
            The page should be linkable without problems

            h3. Actual Results
            * Upon linking the page, it will display as broken macro:
            | !broken_roadmap.png|thumbnail! |
            * The page won't render on view mode with the following error:
            | !view_mode.png|thumbnail! |
            {code:none}We couldn't display your content

            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * And the page can't be edited with this error:
            | !edit_mode.png|thumbnail! |
            {code:none}We couldn't load the editor.
            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * The below exception is thrown in the browser's console:
            {code:none}Invalid adf document SyntaxError: Unexpected token < in JSON at position 0
                at Object.parse (<anonymous>)
                at ContentRenderer.tsx:31
                at ContentRenderer.tsx:100
                at Ji (react-dom.production.min.js:153)
                at Bs (react-dom.production.min.js:175)
                at Fs (react-dom.production.min.js:175)
                at xa (react-dom.production.min.js:268)
                at mu (react-dom.production.min.js:246)
                at vu (react-dom.production.min.js:246)
                at au (react-dom.production.min.js:239){code}

            h3. Workaround
            Contact us through https://support.atlassian.com/ mentioning this bug and a link to the affected page so we can remove the broken link for you.
            (i) For support engineers: check the first internal comment for instructions.
            New: h3. Issue Summary
            If we have a roadmap planner macro and we try to link a page that has a line break/ new line character on its title, the macro will break, causing the page to not be viewable/ editable.

            h3. Steps to Reproduce
            # Create a page A that contains a line break on its title
            The line break can be added either through copy+paste or by using the REST API
            # Create page B with a roadmap planner on it
            # Try to link page A on any of the roadmap's bars

            h3. Expected Results
            The page should be linkable without problems

            h3. Actual Results
            * Upon linking the page, it will display as broken macro:
            | !broken_roadmap.png|thumbnail! |
            * The page won't render on view mode with the following error:
            | !view_mode.png|thumbnail! |
            {code:none}We couldn't display your content

            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * And the page can't be edited with this error:
            | !edit_mode.png|thumbnail! |
            {code:none}We couldn't load the editor.
            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * The below exception is thrown in the browser's console:
            {code:none}Invalid adf document SyntaxError: Unexpected token < in JSON at position 0
                at Object.parse (<anonymous>)
                at ContentRenderer.tsx:31
                at ContentRenderer.tsx:100
                at Ji (react-dom.production.min.js:153)
                at Bs (react-dom.production.min.js:175)
                at Fs (react-dom.production.min.js:175)
                at xa (react-dom.production.min.js:268)
                at mu (react-dom.production.min.js:246)
                at vu (react-dom.production.min.js:246)
                at au (react-dom.production.min.js:239){code}

            h3. Workaround
            Contact us through https://support.atlassian.com/ mentioning this bug and a link to the affected page so we can remove the broken link for you.
            (i) For support engineers: check the first internal comment for instructions.
            Guilherme T (Inactive) made changes -
            Description Original: h3. Issue Summary
            If we have a roadmap planner macro and we try to link a page that has a line break/ new line character on its title, the macro will break, causing the page to not be viewable/ editable.

            h3. Steps to Reproduce
            # Create a page A that contains a line break on its title
            The line break can be either added through copy+paste or using the API
            # Create page B with a roadmap planner on it
            # Try to link page A on any of the roadmap's bars

            h3. Expected Results
            The page should be linkable without problems

            h3. Actual Results
            * Upon linking the page, it will display as broken macro:
            | !broken_roadmap.png|thumbnail! |
            * The page won't render on view mode with the following error:
            | !view_mode.png|thumbnail! |
            {code:none}We couldn't display your content

            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * And the page can't be edited with this error:
            | !edit_mode.png|thumbnail! |
            {code:none}We couldn't load the editor.
            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * The below exception is thrown in the browser's console:
            {code:none}Invalid adf document SyntaxError: Unexpected token < in JSON at position 0
                at Object.parse (<anonymous>)
                at ContentRenderer.tsx:31
                at ContentRenderer.tsx:100
                at Ji (react-dom.production.min.js:153)
                at Bs (react-dom.production.min.js:175)
                at Fs (react-dom.production.min.js:175)
                at xa (react-dom.production.min.js:268)
                at mu (react-dom.production.min.js:246)
                at vu (react-dom.production.min.js:246)
                at au (react-dom.production.min.js:239){code}

            h3. Workaround
            Contact us through https://support.atlassian.com/ mentioning this bug and a link to the affected page so we can remove the broken link for you.
            (i) For support engineers: check the first internal comment for instructions.
            New: h3. Issue Summary
            If we have a roadmap planner macro and we try to link a page that has a line break/ new line character on its title, the macro will break, causing the page to not be viewable/ editable.

            h3. Steps to Reproduce
            # Create a page A that contains a line break on its title
            The line break can be either added through copy+paste or using the REST API
            # Create page B with a roadmap planner on it
            # Try to link page A on any of the roadmap's bars

            h3. Expected Results
            The page should be linkable without problems

            h3. Actual Results
            * Upon linking the page, it will display as broken macro:
            | !broken_roadmap.png|thumbnail! |
            * The page won't render on view mode with the following error:
            | !view_mode.png|thumbnail! |
            {code:none}We couldn't display your content

            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * And the page can't be edited with this error:
            | !edit_mode.png|thumbnail! |
            {code:none}We couldn't load the editor.
            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * The below exception is thrown in the browser's console:
            {code:none}Invalid adf document SyntaxError: Unexpected token < in JSON at position 0
                at Object.parse (<anonymous>)
                at ContentRenderer.tsx:31
                at ContentRenderer.tsx:100
                at Ji (react-dom.production.min.js:153)
                at Bs (react-dom.production.min.js:175)
                at Fs (react-dom.production.min.js:175)
                at xa (react-dom.production.min.js:268)
                at mu (react-dom.production.min.js:246)
                at vu (react-dom.production.min.js:246)
                at au (react-dom.production.min.js:239){code}

            h3. Workaround
            Contact us through https://support.atlassian.com/ mentioning this bug and a link to the affected page so we can remove the broken link for you.
            (i) For support engineers: check the first internal comment for instructions.
            Guilherme T (Inactive) made changes -
            Description Original: h3. Issue Summary
            If we have a roadmap planner macro and we try to link a page that has a line break/ new line character on its title, the macro will break, causing the page to not be viewable/ editable.

            h3. Steps to Reproduce
            # Create a page A that contains a line break on its title
            The line break can be either added through copy+paste or using the API
            # Create page B with a roadmap planner on it
            # Try to link page A on any of the roadmap's bars

            h3. Expected Results
            The page should be linkable without problems

            h3. Actual Results
            * Upon linking the page, it will display as broken macro:
            | !broken_roadmap.png|thumbnail! |
            * The page won't render on view mode with the following error:
            | !view_mode.png|thumbnail! |
            {code:none}We couldn't display your content

            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * And the page can't be edited with this error:
            | !edit_mode.png|thumbnail! |
            {code:none}We couldn't load the editor.
            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * The below exception is thrown in the browser's console:
            {code:none}Invalid adf document SyntaxError: Unexpected token < in JSON at position 0
                at Object.parse (<anonymous>)
                at ContentRenderer.tsx:31
                at ContentRenderer.tsx:100
                at Ji (react-dom.production.min.js:153)
                at Bs (react-dom.production.min.js:175)
                at Fs (react-dom.production.min.js:175)
                at xa (react-dom.production.min.js:268)
                at mu (react-dom.production.min.js:246)
                at vu (react-dom.production.min.js:246)
                at au (react-dom.production.min.js:239){code}

            h3. Workaround
            Contact us through https://support.atlassian.com/ mentioning this bug and a link to the affected page so we can remove the broken link for you
            New: h3. Issue Summary
            If we have a roadmap planner macro and we try to link a page that has a line break/ new line character on its title, the macro will break, causing the page to not be viewable/ editable.

            h3. Steps to Reproduce
            # Create a page A that contains a line break on its title
            The line break can be either added through copy+paste or using the API
            # Create page B with a roadmap planner on it
            # Try to link page A on any of the roadmap's bars

            h3. Expected Results
            The page should be linkable without problems

            h3. Actual Results
            * Upon linking the page, it will display as broken macro:
            | !broken_roadmap.png|thumbnail! |
            * The page won't render on view mode with the following error:
            | !view_mode.png|thumbnail! |
            {code:none}We couldn't display your content

            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * And the page can't be edited with this error:
            | !edit_mode.png|thumbnail! |
            {code:none}We couldn't load the editor.
            Refresh the page and try again. If the problem persists, contact Atlassian Support.{code}
            * The below exception is thrown in the browser's console:
            {code:none}Invalid adf document SyntaxError: Unexpected token < in JSON at position 0
                at Object.parse (<anonymous>)
                at ContentRenderer.tsx:31
                at ContentRenderer.tsx:100
                at Ji (react-dom.production.min.js:153)
                at Bs (react-dom.production.min.js:175)
                at Fs (react-dom.production.min.js:175)
                at xa (react-dom.production.min.js:268)
                at mu (react-dom.production.min.js:246)
                at vu (react-dom.production.min.js:246)
                at au (react-dom.production.min.js:239){code}

            h3. Workaround
            Contact us through https://support.atlassian.com/ mentioning this bug and a link to the affected page so we can remove the broken link for you.
            (i) For support engineers: check the first internal comment for instructions.

              Unassigned Unassigned
              gtworkowski Guilherme T (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: