galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.34k stars 969 forks source link

[24.0] Delay tool form rendering until config is loaded #18151

Closed mvdbeek closed 1 month ago

mvdbeek commented 1 month ago

The config typically is already loaded once you hit the tool form, so this shouldn't cause a delay, and we already do the same effectively for the current user and current history id.

Fixes https://github.com/galaxyproject/galaxy/issues/18139

TypeError: e.config is null
  at $b (webpack://@galaxyproject/galaxy-client/./src/components/Tool/ToolForm.vue?5639:1:1709)
  at Vue.prototype._render (webpack://@galaxyproject/galaxy-client/./node_modules/vue/dist/vue.esm.js:2540:28)
  at updateComponent (webpack://@galaxyproject/galaxy-client/./node_modules/vue/dist/vue.esm.js:2980:27)
  at Watcher.prototype.get (webpack://@galaxyproject/galaxy-client/./node_modules/vue/dist/vue.esm.js:4164:33)
  at Watcher.prototype.run (webpack://@galaxyproject/galaxy-client/./node_modules/vue/dist/vue.esm.js:4240:30)
...
(3 additional frame(s) were not displayed)

(Please replace this header with a description of your pull request. Please include BOTH what you did and why you made the changes. The "why" may simply be citing a relevant Galaxy issue.) (If fixing a bug, please add any relevant error or traceback) (For UI components, it is recommended to include screenshots or screencasts)

How to test the changes?

(Select all options that apply)

License