Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-25060

Loading some Advanced Roadmaps for Jira (AR4J) pages fails with "Unknown page type" error in the browser console log

      Issue Summary

      When a page decorator is added to the HTML, then some Advanced Roadmaps for Jira (AR4J) pages fails to load.

      For example, loading the View Plans page shows doesn't load as the image below.

      The page decorator can be loaded as a custom code in the Announcement Banner or can be used by a Marketplace App.

      Steps to Reproduce

      1. Install a vanilla instance of Jira Software DC.
      2. Access Plans > View Plans and notice the page loads properly.
      3. Edit the announcement banner to have the following tag; this is the fastest way to reproduce the issue.
        <meta name="decorator" content="atl.general" />
        
      4. Access Plans > View Plans and notice the page won't load.

      Expected Results

      The page loads properly without an error.

      Actual Results

      The page won't load and we have the following error in the browser console log.

      Uncaught Error: Unknown page type <decorator name>
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

        1. screenshot-2.png
          screenshot-2.png
          251 kB
        2. screenshot-1.png
          screenshot-1.png
          77 kB

            [JSWSERVER-25060] Loading some Advanced Roadmaps for Jira (AR4J) pages fails with "Unknown page type" error in the browser console log

            Marc Dacanay made changes -
            Labels Original: Plan-Roadmap pse-request New: Plan-Roadmap pse-request ril
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 956680 ]
            Bugfix Automation Bot made changes -
            Introduced in Version New: 8.16
            Aakrity Tibrewal made changes -
            Component/s Original: Plan [ 48691 ]
            Component/s New: (Advanced Roadmaps) Plan - Roadmap [ 63498 ]
            Key Original: JPOSERVER-2998 New: JSWSERVER-25060
            Affects Version/s Original: 8.17.0 [ 95490 ]
            Affects Version/s Original: 8.16.0 [ 94995 ]
            Affects Version/s Original: 3.29.7 [ 94992 ]
            Affects Version/s New: 8.17.0 [ 94802 ]
            Affects Version/s New: 8.16.0 [ 94593 ]
            Affects Version/s New: 9.10.2 [ 106014 ]
            Project Original: Advanced Roadmaps [ 16510 ] New: Jira Software Server and Data Center [ 12200 ]
            Stasiu made changes -
            Labels Original: pse-request New: Plan-Roadmap pse-request
            Fernando Cuevas (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Long Term Backlog [ 12073 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Thiago Masutti made changes -
            Remote Link New: This issue links to "JPO-17173 (JDOG - JIRA Team Dogfood)" [ 555952 ]
            Thiago Masutti made changes -
            Description Original: h3. Issue Summary
            When a [page decorator|https://developer.atlassian.com/server/framework/atlassian-sdk/using-standard-page-decorators/] is added to the HTML, then some Advanced Roadmaps for Jira (AR4J) pages fails to load.

            For example, loading the _View Plans_ page shows doesn't load as the image below.



            The page decorator can be loaded as a custom code in the Announcement Banner or can be used by a Marketplace App.


            h3. Steps to Reproduce
             # Install a vanilla instance of Jira Software DC.
             # Access *Plans* > *View Plans* and notice the page loads properly.
             # Edit the announcement banner to have the following tag; this is the fastest way to reproduce the issue.
            {code}
            <meta name="decorator" content="atl.general" />
            {code}
             # Access *Plans* > *View Plans* and notice the page won't load.

            h3. Expected Results
            The page loads properly without an error.

            h3. Actual Results
            The page won't load and we have the following error in the browser console log.
            {code}
            Uncaught Error: Unknown page type <decorator name>
            {code}

            h3. Workaround
            _Currently there is no known workaround for this behavior. A workaround will be added here when available._
            New: h3. Issue Summary
            When a [page decorator|https://developer.atlassian.com/server/framework/atlassian-sdk/using-standard-page-decorators/] is added to the HTML, then some Advanced Roadmaps for Jira (AR4J) pages fails to load.

            For example, loading the _View Plans_ page shows doesn't load as the image below.
             !screenshot-1.png|thumbnail!


            The page decorator can be loaded as a custom code in the Announcement Banner or can be used by a Marketplace App.


            h3. Steps to Reproduce
             # Install a vanilla instance of Jira Software DC.
             # Access *Plans* > *View Plans* and notice the page loads properly.
             # Edit the announcement banner to have the following tag; this is the fastest way to reproduce the issue.
            {code}
            <meta name="decorator" content="atl.general" />
            {code}
             # Access *Plans* > *View Plans* and notice the page won't load.

            h3. Expected Results
            The page loads properly without an error.

            h3. Actual Results
            The page won't load and we have the following error in the browser console log.
            {code}
            Uncaught Error: Unknown page type <decorator name>
            {code}
             !screenshot-2.png|thumbnail!

            h3. Workaround
            _Currently there is no known workaround for this behavior. A workaround will be added here when available._
            Thiago Masutti made changes -
            Attachment New: screenshot-2.png [ 404630 ]

              Unassigned Unassigned
              tmasutti Thiago Masutti
              Affected customers:
              3 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated: