Selecting a corpus when adding a dataset to a process causes errors in the store
Sentry Issue: ARKINDEX-FRONTEND-B8K
Error: Datasets for corpus 270a0494-c2e7-4433-b36c-49247a537f00 could not be retrieved.
at 8810/singleCorpusDatasets/< (/arkindex/1.5.2-rc2/arkindex-1.5.2-rc2.js:1:361873)
at corpusDatasets (/arkindex/1.5.2-rc2/arkindex-users-1.5.2-rc2.js:1:1640123)
at run (/arkindex/1.5.2-rc2/arkindex-vendors-1.5.2-rc2.js:1:75622)
at get value (/arkindex/1.5.2-rc2/arkindex-vendors-1.5.2-rc2.js:1:83857)
at get (/arkindex/1.5.2-rc2/arkindex-vendors-1.5.2-rc2.js:1:101252)
...
(45 additional frame(s) were not displayed)
- Open the dev tools.
- Create a dataset process.
- Watch the big red error messages in the console.
- Begin sobbing uncontrollably.
- Select another corpus in the form.
- Watch the console get even redder.
- Realize that the form actually works despite all the errors.
- Sob confusedly instead.
On a dev server, the process datasets page might not display at all, or might only display its title and not the datasets table, and there are extra Vue warnings on top of the errors.