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.

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

              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: