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

            Zac Xu made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Awaiting Merge [ 10064 ] New: Closed [ 6 ]
            Zac Xu made changes -
            QA Demo Status New: Done [ 14331 ]
            Zac Xu made changes -
            QA Kickoff Status New: Not Needed [ 14236 ]
            Niraj Bhawnani made changes -
            Labels Original: confsrv-aui8-must New: confsrv-aui8-must samurai
            Niraj Bhawnani made changes -
            Fix Version/s New: 7.0.2 [ 89296 ]
            Niraj Bhawnani made changes -
            Component/s New: Web Interface - AUI [ 42801 ]
            Component/s New: Web Interface - AUI [ 42801 ]
            Component/s Original: Front End [ 47090 ]
            Component/s Original: Samurai [ 46005 ]
            Fix Version/s Original: 7.0.2 [ 89102 ]
            Key Original: CONFSRVDEV-11752 New: CONFSERVER-58833
            QA Demo Status Original: Done [ 15034 ]
            QA Kickoff Status Original: Not Needed [ 15032 ]
            Symptom Severity New: Severity 3 - Minor [ 15832 ]
            Affects Version/s New: 7.0.1 [ 86011 ]
            Workflow Original: CONFSRV Confluence Cloud First Workflow v3 [ 3457780 ] New: CONFSERVER Bug Workflow v4 [ 3528306 ]
            Project Original: Confluence Server Development [ 18410 ] New: Confluence Server [ 10470 ]
            Zac Xu made changes -
            Fix Version/s New: 7.0.2 [ 89102 ]
            Fix Version/s Original: 7.0.1 [ 86002 ]
            Niraj Bhawnani made changes -
            Priority Original: Highest [ 1 ] New: Medium [ 3 ]
            Zac Xu made changes -
            Remote Link New: This issue links to "R7.0 P1. Baseline › WebDriver tests (Firefox 2.53.1, Oracle JDK 8) › issue-70-CONFSRVDEV-11752-wizard-error (server-syd-bamboo)" [ 446965 ]
            Zac Xu made changes -
            Remote Link New: This issue links to "R7.0 P1. Performance › Page Weight Ratchet Build › issue-70-CONFSRVDEV-11752-wizard-error (server-syd-bamboo)" [ 446892 ]

              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: