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

Unable to select 'Space' or 'Page' or on Confluence Page Gadget

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      When trying to add a Confluence page to a JIRA dashboard via the 'Confluence Page Gadget', typing the name of a Confluence space on the 'Space' field, or the name of a Confluence page on the 'Page' field returns suggestions of Confluence spaces/pages available, however, clicking on any of the suggestions does not select the suggestion to be shown on the gadget, instead, the clicked suggestion will open on Confluence. Not being possible to configure the gadget.

      Steps to reproduce:

      1. Add the 'Confluence Page Gadget' on a JIRA dashboard.
      2. Start typing the name of an existing space/page on the corresponded field.
      3. Click on any of the suggestions for the typed text.

      Added by jgarcia 22-08-13:

      Steps to Reproduce:
      • Create a JIRA 5.2.4.1, Confluence 5.2.3
      • Create Trusted application link
        • Confluence uses JIRA for User Admin
      • Create page
      • Get Confluence Page Gadget URL from Help menu
      What I'm doing:
      • Add Gadget to JIRA
      • Type in the first few letters of my page name so it's visible in the drop-down
      • Click to select from dropdown
      What I expect as a result:
      • The page name and link is automagically inserted into the field
      The actual result:
      • The page specified in the dropdown loads, consuming the whole browser window and leaving JIRA.
      Tested on:
      • Chrome 29, Opera 12, IE9
      • ArchLinux/Postgres/Standalone
      • JIRA 5.2.4.1/Confluence 5.2.3
      Browser console:
      --
      [11:39:12.255] TypeError: l.always is not a function @ http://kidney.staff.sf.atlassian.com:9523/523/s/d41d8cd98f00b204e9800998ecf8427e/en_GB-1988229788/4394/a32f094df7825f58c6a417309475c6c954804a27.1/1.0/_/download/batch/confluence.web.components:core/confluence.web.components:core.js:91
      [11:39:12.312] GET http://kidney.staff.sf.atlassian.com:9524/5241/plugins/servlet/gadgets/makeRequest?refresh=3600&url=http%3A%2F%2Fkidney.staff.sf.atlassian.com%3A9523%2F523%2Frest%2Fprototype%2F1%2Fsearch%2Fname.json%3Ftype%3Dpage%252Cblogpost%26query%3Dtest&httpMethod=GET&headers=&postData=&authz=&st=&contentType=JSON&numEntries=3&getSummaries=false&signOwner=true&signViewer=true&gadget=http%3A%2F%2Fkidney.staff.sf.atlassian.com%3A9523%2F523%2Frest%2Fgadgets%2F1.0%2Fg%2Fcom.atlassian.confluence.plugins.gadgets%3Aconfluence-page-gadget%2Fgadgets%2Fconfluence-page-gadget.xml&container=atlassian&bypassSpecCache= [HTTP/1.1 200 OK 120ms]
      [11:39:12.386] ReferenceError: _ is not defined @ http://kidney.staff.sf.atlassian.com:9523/523/s/d41d8cd98f00b204e9800998ecf8427e/en_GB-1988229788/4394/a32f094df7825f58c6a417309475c6c954804a27.1/1.0/_/download/batch/confluence.web.components:core/confluence.web.components:core.js:25

      If there's an error in the way I've set it up, then please consider this a feature request for the error to be logged.

      Workaround (courtesy of eirik1)

      1. Right Click on the “Page”-input-textbox in the Gadget-form, and choose “Inspect Element”;
      2. The input-element will be selected in the “Elements”-tab in Developer Tools;
      3. A few lines above the selected element, you will find two hidden inputs:
        a.
        <input id="pageId" type="hidden" name="pageId" value>

        b.

        <input id="pageName" type="hidden" name="pageName" value>
      4. Doubleclick on the value-attribute of the pageId-element, and change the attribute to
        value=”[ID of confluence document]”
      5. Doubleclick on the value-attribute of the pageName-element, and change the attribute to
        value=”[Name of the confluence document]”

        (might not be necessary). Click outside the element to “save” the value;

      6. Click Save in the Gadget-wizard.

      The Confluence Page ID can be found Tools > Page Information in Confluence, or in the query string of the Page's URL.

      For additional details about how to apply the workaround, please check this video

            [CONFSERVER-30255] Unable to select 'Space' or 'Page' or on Confluence Page Gadget

            Nick Mason added a comment -

            New issue created for the regression: https://jira.atlassian.com/browse/CONF-33215

            Nick Mason added a comment - New issue created for the regression: https://jira.atlassian.com/browse/CONF-33215

            We are seeing this currently in Confluence OnDemand again

            Jeff Curry added a comment - We are seeing this currently in Confluence OnDemand again

            iris blackburn added a comment - - edited

            We are having the same issue when jumping from 5.1.5 to 5.2.3, but we are using this plugin in Confluence and getting the same issue.

            iris blackburn added a comment - - edited We are having the same issue when jumping from 5.1.5 to 5.2.3, but we are using this plugin in Confluence and getting the same issue.

            It would be great to see this fixed, since before that worked perfectly fine and now I'm stuck with unusable Confluence Gadgets on our custom dashboards. Thanks in advance for your effort!

            Deleted Account (Inactive) added a comment - It would be great to see this fixed, since before that worked perfectly fine and now I'm stuck with unusable Confluence Gadgets on our custom dashboards. Thanks in advance for your effort!

            I have the same issue but I am currently testing Confluence to see if it meets all my needs.
            Could you please tell me if a solution exists to make work the Confluence page Gadget because I would really like to see how it works and I cannot currently select a page.
            Thanks in advance.

            Georges Mistos added a comment - I have the same issue but I am currently testing Confluence to see if it meets all my needs. Could you please tell me if a solution exists to make work the Confluence page Gadget because I would really like to see how it works and I cannot currently select a page. Thanks in advance.

            Taylor Meek added a comment - - edited

            Support opened CONF-30526 (which stems from JSP-169712) for us today, which looks like it's the same issue (with some additional repro steps), except that it encompasses non-OnDemand environments as well.

            Taylor Meek added a comment - - edited Support opened CONF-30526 (which stems from JSP-169712) for us today, which looks like it's the same issue (with some additional repro steps), except that it encompasses non-OnDemand environments as well.

            Is there any update on this issue? I am trying to add a confluence page gadget to jira 5.2.9. I am unable to select page

            Andew Marick added a comment - Is there any update on this issue? I am trying to add a confluence page gadget to jira 5.2.9. I am unable to select page

            Hi Felipe

            Thanks for the updated information. We'll take a look into this

            Regards

            Steve Haffenden (Inactive) added a comment - Hi Felipe Thanks for the updated information. We'll take a look into this Regards

            Matt Phillips added a comment - - edited

            I have no idea when the releases happen; we have onDemand so don't have much insight. Here's what I can tell you: it happened sometime after JST-70823 was completed (24th July)

            Matt Phillips added a comment - - edited I have no idea when the releases happen; we have onDemand so don't have much insight. Here's what I can tell you: it happened sometime after JST-70823 was completed (24th July)

            Hi Matt

            Could you confirm between which versions the regression occurred for you?

            Regards

            Steve Haffenden (Inactive) added a comment - Hi Matt Could you confirm between which versions the regression occurred for you? Regards

              igerges Issac Gerges (Inactive)
              fwillig Felipevsw (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: