Issue Summary

      Renaming an object type schema via the configure view doesn't update the pages header with the new name, so the old name is still displayed until refresh. An error is also thrown in the console.

      Steps to Reproduce

      1. Create a schema.
      2. Create a new object type
      3. Select the configure option for the new object type
      4. On the configure page, click the name field to edit
      5. Change the name and click off of the field
      6. Console has an error, name changes, but header shows the old name until refresh

      Expected Results

      • The header should update to match the new name
      • An error should not be thrown in the console

      Actual Results

      • The header displays the old name until page refresh
      • An error is thrown in the console:

      The below exception is thrown in the console:

      com.riadalabs.jira.plugins.insight:rlabs-configure.js?locale=en-US:17855 Uncaught TypeError: AJS.$(...).jstree is not a function     at Object.success (com.riadalabs.jira.plugins.insight:rlabs-configure.js?locale=en-US:17855:81)     at Object.<anonymous> (batch.js?locale=en-US:169:24203)     at i (batch.js?locale=en-US:169:22867)     at Object.fireWith [as resolveWith] (batch.js?locale=en-US:169:23648)     at a.<computed> (batch.js?locale=en-US:169:24627)     at Object.<anonymous> (batch.js?locale=en-US:169:24203)     at i (batch.js?locale=en-US:169:22867)     at Object.add [as done] (batch.js?locale=en-US:169:23187)     at Array.<anonymous> (batch.js?locale=en-US:169:24180)     at Function.each (batch.js?locale=en-US:158:1304)  

      Workaround

      • Does not impact the rename itself - rename is still successful
      • Refresh the page to update the header

            [JSDSERVER-11925] Renaming an object type schema on the configure view throws an error

            Marc Dacanay made changes -
            Labels Original: blitz5.2 cqt frontend papercuts rbst verified New: blitz5.2 cqt frontend papercuts rbst ril verified
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 955641 ]
            Elton Santos made changes -
            Labels Original: blitz5.2 cqt papercuts rbst New: blitz5.2 cqt frontend papercuts rbst verified
            Maciej Rzymski made changes -
            Labels Original: blitz5.2 cqt papercut papercuts rbst New: blitz5.2 cqt papercuts rbst
            Maciej Rzymski made changes -
            Labels Original: blitz5.2 cqt papercut rbst New: blitz5.2 cqt papercut papercuts rbst
            Sandip Shrivastava made changes -
            Labels Original: blitz5.2 cqt papercut New: blitz5.2 cqt papercut rbst
            Marc Dacanay made changes -
            Labels Original: blitz5.2 cqt New: blitz5.2 cqt papercut
            Andrew Bui made changes -
            Labels Original: blitz5.2 New: blitz5.2 cqt
            Andrew Bui made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Michelle Chin made changes -
            Description Original: h3. Issue Summary

            Renaming an object type schema via the configure view doesn't update the pages header with the new name, so the old name is still displayed until refresh. An error is also thrown in the console.
            h3. Steps to Reproduce
             # Create a schema.
             # Create a new object type
             # Select the configure option for the new object type
             # On the configure page, click the name field to edit
             # Change the name and click off of the field
             # Console has an error, name changes, but header shows the old name until refresh

            h3. Expected Results
             * The header should update to match the new name
             * An error should not be thrown in the console

            h3. Actual Results
             * The header displays the old name until page refresh
             * An error is thrown in the console:

            The below exception is thrown in the console:
            {noformat}
            com.riadalabs.jira.plugins.insight:rlabs-configure.js?locale=en-US:17855 Uncaught TypeError: AJS.$(...).jstree is not a function     at Object.success (com.riadalabs.jira.plugins.insight:rlabs-configure.js?locale=en-US:17855:81)     at Object.<anonymous> (batch.js?locale=en-US:169:24203)     at i (batch.js?locale=en-US:169:22867)     at Object.fireWith [as resolveWith] (batch.js?locale=en-US:169:23648)     at a.<computed> (batch.js?locale=en-US:169:24627)     at Object.<anonymous> (batch.js?locale=en-US:169:24203)     at i (batch.js?locale=en-US:169:22867)     at Object.add [as done] (batch.js?locale=en-US:169:23187)     at Array.<anonymous> (batch.js?locale=en-US:169:24180)     at Function.each (batch.js?locale=en-US:158:1304) {noformat}
            h3. !image-2022-08-11-14-57-37-519.png|width=2381,height=1217!
            h3. Workaround
             * Does not impact the rename itself - rename is still successful
             * Refresh the page to update the header
            New: h3. Issue Summary

            Renaming an object type schema via the configure view doesn't update the pages header with the new name, so the old name is still displayed until refresh. An error is also thrown in the console.
            h3. Steps to Reproduce
             # Create a schema.
             # Create a new object type
             # Select the configure option for the new object type
             # On the configure page, click the name field to edit
             # Change the name and click off of the field
             # Console has an error, name changes, but header shows the old name until refresh

            h3. Expected Results
             * The header should update to match the new name
             * An error should not be thrown in the console

            h3. Actual Results
             * The header displays the old name until page refresh
             * An error is thrown in the console:

            The below exception is thrown in the console:
            {code:java}
            com.riadalabs.jira.plugins.insight:rlabs-configure.js?locale=en-US:17855 Uncaught TypeError: AJS.$(...).jstree is not a function     at Object.success (com.riadalabs.jira.plugins.insight:rlabs-configure.js?locale=en-US:17855:81)     at Object.<anonymous> (batch.js?locale=en-US:169:24203)     at i (batch.js?locale=en-US:169:22867)     at Object.fireWith [as resolveWith] (batch.js?locale=en-US:169:23648)     at a.<computed> (batch.js?locale=en-US:169:24627)     at Object.<anonymous> (batch.js?locale=en-US:169:24203)     at i (batch.js?locale=en-US:169:22867)     at Object.add [as done] (batch.js?locale=en-US:169:23187)     at Array.<anonymous> (batch.js?locale=en-US:169:24180)     at Function.each (batch.js?locale=en-US:158:1304) {code}
            h3. !image-2022-08-11-14-57-37-519.png|width=1158,height=592!
            h3. Workaround
             * Does not impact the rename itself - rename is still successful
             * Refresh the page to update the header

              Unassigned Unassigned
              344ed8f58f8f Alec Bignell
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated: