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

Hipchat integration plugin wizard second step is not responsive due to js console error

      Issue Summary

      Environment

      (Optional - If Applicable)
      *
      *

      Steps to Reproduce

      1. go to admin configurations
      2. go to Hipchat integration `~/plugins/servlet/hipchat/configure`
      3. connect to coconut
      4. install confluence add-on
      5. select a room

      Expected Results

      should be able to proceed

      Actual Results

      there is no interactive element to let the user to proceed and there are console errors

      Failed to run init function: Cannot read property 'context' of undefined ƒ ($) {
              var space = null;
              var form = $('#confluence-space-to-room-mapping-form');
              var notificationTypes = form.data('notification-types');        if (AJS.Meta.get('space-key')… TypeError: Cannot read property 'context' of undefined
          at confluence-hipchat-space-to-room-internal-ui.js:171
          at aui.chunk.a8f44844d33c3398dce1--219db96b99bd1d106253.js:1 TypeError: Cannot read property 'context' of undefined
          at http://localhost:8080/confluence/s/e868a6d1aa69ba6b5c181bd82c66de9f-CDN/j2llnw/8202/NOCACHE/8.4.2-SNAPSHOT/_/download/resources/com.atlassian.confluence.plugins.confluence-hipchat-integration-plugin:hipchat-js-resources/confluence-hipchat-space-to-room-internal-ui.js?locale=en-GB:171:30
          at http://localhost:8080/confluence/s/e868a6d1aa69ba6b5c181bd82c66de9f-CDN/j2llnw/8202/NOCACHE/8.3.4/_/download/resources/com.atlassian.auiplugin:split_aui.side-effects/aui.chunk.a8f44844d33c3398dce1--219db96b99bd1d106253.js?locale=en-GB:1:488
      (anonymous) @ aui.chunk.ddc0d6f2ec80346db1b3--7f2bcdeaa157db28d10b.js:1
      confluence-hipchat-space-to-room-internal-ui.js:229 Uncaught TypeError: Cannot read property 'auiSelect2' of undefined
          at getSelectedSpace (confluence-hipchat-space-to-room-internal-ui.js:229)
          at HTMLInputElement.<anonymous> (confluence-hipchat-space-to-room-internal-ui.js:162)
          at HTMLInputElement.dispatch (jquery.js:4742)
          at HTMLInputElement.elemData.handle (jquery.js:4554)
          at Object.trigger (jquery.js:7812)
          at Object.jQuery.event.trigger (jquery-migrate.js:596)
          at HTMLInputElement.<anonymous> (jquery.js:7880)
          at Function.each (jquery.js:370)
          at jQuery.fn.init.each (jquery.js:138)
          at jQuery.fn.init.trigger (jquery.js:7879)
      

      Notes

      This only happens once for a new instance. 

      Workaround

      Refresh the page and the errors will be gone.

          Form Name

            [CONFSERVER-58833] Hipchat integration plugin wizard second step is not responsive due to js console error

            Zac Xu added a comment -

            A fix for this issue is available to Server and Data Center customers in Confluence 7.0.2.

            Upgrade now or check out the Confluence 7.0.2 Release Notes to see what other issues are resolved.

            Zac Xu added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.0.2. Upgrade now or check out the Confluence 7.0.2 Release Notes to see what other issues are resolved.

            Zac Xu added a comment - - edited

            Hi mappleton@atlassian.com, just a reminder, the user is able to proceed with the setup wizard by refreshing the page as a workaround. This error only happened once per new confluence instance.

            Zac Xu added a comment - - edited Hi  mappleton@atlassian.com , just a reminder, the user is able to proceed with the setup wizard by refreshing the page as a workaround. This error only happened once per new confluence instance.

            rwieser This issue relates to not being able to run through the setup wizard with 7.0 but we are unsure as to the likelihood of this being an issue for customers. EOL dates are DC 3.1 is 26 Sep 2019, Server 2.4 is 30 Jun 2020. Scenarios are expected to be:

            1. 1. You’re reconfiguring your HipChat integration for some reason
            2. 2. You’re a HipChat customer who just bought Confluence
            3. 3. You’ve been a HipChat customer and a Confluence customer and just realised you haven’t set up the integration

            Server to DC upgrades are not affected.

            Do you have any insight into the number of instances that are newly integrating with HipChat Server or Data Center?

            Makisa Appleton added a comment - rwieser This issue relates to not being able to run through the setup wizard with 7.0 but we are unsure as to the likelihood of this being an issue for customers. EOL dates are DC 3.1 is 26 Sep 2019, Server 2.4 is 30 Jun 2020. Scenarios are expected to be: 1. You’re reconfiguring your HipChat integration for some reason 2. You’re a HipChat customer who just bought Confluence 3. You’ve been a HipChat customer and a Confluence customer and just realised you haven’t set up the integration Server to DC upgrades are not affected. Do you have any insight into the number of instances that are newly integrating with HipChat Server or Data Center?

              zxu2@atlassian.com Zac Xu
              zxu2@atlassian.com Zac Xu
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: