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

Web item with dialog target redirecting to 404

    XMLWordPrintable

Details

    Description

      Issue Summary

      When a web-item definition as such:

      {
                  "key": "sys-header-left",
                  "location": "system.header/left",
                  "context": "addon",
                  "name":
                  {
                    "value": "Anne System Header Left"
                  },
                  "url": "/hello-world?app=jira&accountId={user.accountId}",
                  "conditions": [
                    {
                      "condition": "user_is_logged_in"
                    }
                  ],
                  "tooltip": {
                    "value": "Anne Wizard"
                  },
                  "target": {
                    "type": "dialog",
                    "options": {
                      "width": "840px",
                      "height": "373px"
                    }
                  }
                }
      

      with a dialog target, a 404 page is displayed instead of loading it in a dialog

      Steps to Reproduce

      1. In a connect app, add a webItem definition like above
      2. Go to your instance and access app's webItem
      3. You'll be redirected to a 404: https://monosnap.com/file/E8ap8EgoIpE2KpOZKSPYN5Tt1mYiYU
        anne-replication-404.webm

      Expected Results

      App details loaded in a dialog

      Actual Results

      Redirected to 404

      Notes

      • Seems to work in Jira

      Workaround

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

      Attachments

        Issue Links

          Activity

            People

              tmarra tm
              acalantog Anne Calantog
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: