OSC / ood-activejobs

[MOVED] Active Jobs provides details of scheduled jobs on an HPC cluster.
https://osc.github.io/Open-OnDemand/
MIT License
0 stars 1 forks source link

Fix invalid job cluster request #171

Closed laser505t closed 5 years ago

laser505t commented 5 years ago

Fixes #170

There are two fixes here that probably shouldn't coexist. One prevents a 500 error from occuring in the JSON request and gives an error message that could mystify the user, but is more clear than before. The other is client-side, where the localStorage value is compared against the valid values, and the page is reloaded with 'all' clusters if the local value is invalid.

Also, kinda separate, but should :cluster be changed to :jobcluster here?