open-nomad/ui/tests/pages/components
Luiz Aoqui 758e85bc84
ui: fix an error when navigating to a task group (#12832)
Clicking in a task group row in the job details page would throw the
error:

Uncaught Error: You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route jobs.job.task-group. Missing params: name
    createParamHandlerInfo http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4814
    applyToHandlers http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4804
    applyToState http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4801
    getTransitionByIntent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4843
    transitionByIntent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4836
    refresh http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4885
    refresh http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2254
    queryParamsDidChange http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2326
    k http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2423
    triggerEvent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2349
    fireQueryParamDidChange http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4863
    getTransitionByIntent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4848
    transitionByIntent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4836
    doTransition http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4853
    transitionTo http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4882
    _doTransition http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2392
    transitionTo http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2177
    gotoTaskGroup http://localhost:4646/ui/assets/nomad-ui-4a2c1941e03e60e1feef715f23cf268c.js:623
...

This was caused because the attribute being passed to the transitionTo
function was not the task group name, but the whole model.
2022-05-02 11:01:19 -04:00
..
topo-viz ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
allocations.js ui: prettify js files 2022-01-20 09:54:56 -05:00
clients.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
error.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
facet.js ui: prettify js files 2022-01-20 09:54:56 -05:00
gauge-chart.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
job-client-status-bar.js refact: fix tests after contextual job page changes 2022-01-26 11:31:18 -05:00
job-editor.js Acceptance tests for the edit behaviors on the job definition page 2018-08-23 10:26:20 -07:00
lifecycle-chart.js Revert "Temporarily remove poststop from the UI" 2020-11-12 09:16:52 -08:00
notification.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
page-size-select.js ui: prettify js files 2022-01-20 09:54:56 -05:00
popover-menu.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
recommendation-accordion.js Add DAS UI code from enterprise (#9192) 2020-10-29 07:46:42 -05:00
recommendation-card.js ui: prettify js files 2022-01-20 09:54:56 -05:00
stepper-input.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
task-groups.js ui: fix an error when navigating to a task group (#12832) 2022-05-02 11:01:19 -04:00
toggle.js ui: prettify js files 2022-01-20 09:54:56 -05:00
topo-viz.js ui: prettify js files 2022-01-20 09:54:56 -05:00
two-step-button.js ui: prettify js files 2022-01-20 09:54:56 -05:00