Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-38277

Confluence Page gadget throws "The resource rest/webResources/1.0/resources, cannot be found." error

    XMLWordPrintable

    Details

    • UIS:
      53
    • Support reference count:
      19
    • Sprint:
      katipo, ladybird
    • Testing Notes:
      Hide

      The below is the testing notes for the first touch,

      • Build Confluence from branch issue/CONF-38277
      • Setup application link with a JIRA instance
      • Add a Confluence Page Gadget to a JIRA dashboard and select any Confluence page
      • Observe that there is no error message displayed.

      Here is the testing notes targeting 6.3

      • Reproduce the issue with the steps in description - which actually can be seen at both JIRA and Confluence
      • Install the fix branch - issue/CONFSERVER-38277-web-resource-not-found - at request access plugin
      • Revisit the page containing Confluence Page Gadget from JIRA and Confluence, and verify the warning message is not shown anymore. Note: Refresh at the browser is required
      • Regression test to verify the gadget and request access still work
      Show
      The below is the testing notes for the first touch, Build Confluence from branch issue/ CONF-38277 Setup application link with a JIRA instance Add a Confluence Page Gadget to a JIRA dashboard and select any Confluence page Observe that there is no error message displayed. Here is the testing notes targeting 6.3 Reproduce the issue with the steps in description - which actually can be seen at both JIRA and Confluence Install the fix branch - issue/ CONFSERVER-38277 -web-resource-not-found - at request access plugin Revisit the page containing Confluence Page Gadget from JIRA and Confluence, and verify the warning message is not shown anymore. Note: Refresh at the browser is required Regression test to verify the gadget and request access still work

      Description

      Summary

      After creating an application link between JIRA and Confluence, have JIRA subscribe to Confluence gadget and add the Confluence Page Gadget to a JIRA dashboard. You will see the following error in it.

      Steps to Reproduce

      1. Install JIRA 6.4.7 with context path (http://localhost:6471/jira)
      2. Install Confluence 5.8.4 with context path (http://localhost:5841/conf)
      3. Create an AppLink between them
      4. Subscribe to Confluence gadget in JIRA
      5. Add the Confluence Page Gadget to a JIRA dashboard
      6. Select a space and a page

      Expected Results

      The page shows up fine with no error

      Actual Results

      You will see the below error while nothing is thrown in the logs:

      The resource /conf/rest/webResources/1.0/resources, cannot be found

      Clicking on the link will redirect to http://localhost:6471/conf/rest/webResources/1.0/resources which is the wrong port/context path combination

      Notes

      • Tested with both Trusted Application and OAuth
      • Also tested with JIRA 6.3.15 and Confluence 5.8.4
      • Does not happen with JIRA 6.4.7 and Confluence 5.7

      Workaround

      If JIRA and Confluence URLs do not have a context path, the error doesn't appear.

        Attachments

        1. error.png
          error.png
          62 kB
        2. image-2018-03-15-15-01-11-078.png
          image-2018-03-15-15-01-11-078.png
          10 kB
        3. image-2018-05-18-10-16-08-031.png
          image-2018-05-18-10-16-08-031.png
          10 kB

          Issue Links

            Activity

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                4 weeks, 3 days ago