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
- 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
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
- links to