Bug: RothC page crashes if table is displayed before simulation finishes
Describe the bug.
When we go to /flint/configurations/rothc and click Run quickly followed by Point Output Table button , the whole thing crashes without any warnings or indicators. We would like to handle this more gracefully.
Refer to bug report #369. The behavior is pretty much the same including the stack trace.
Describe the steps to reproduce the behavior.
- Head over to
/flint/configurations/rothc. - Click Run.
- Immediately click
Point Output Table.
Expected behavior.
Handle this more gracefully and display an error notification if the simulation hasn't finished yet.
Screenshots.
No response
Operating Environment
Arch Linux 5.18, Firefox, Ran locally with API deployed on azurewebsites.
Additional Information
No response
I'll take this up myself.
Hola @Palaksharma23 I am working in this issue :)
Sure, go ahead :)
Hii @Crystalsage is this issue solved? When I run it in my local system it is not showing me any crash if the table is displayed before the simulation finishes
Hi @Bhawna1203. Sorry for the late reply, but yes the bug still exists. I was able to reproduce it without connecting to the actual FLINT API.
Here's how I reproduced it:
- Run the FLINT-UI on localhost.
- Visit
/flint/configurations/rothc - Click the
Runbutton. - Click the
Show Outputbutton. - Check the console. The following stack trace was present.
Uncaught TypeError: (intermediate value).split is not a function
parse_RothC_results rothc.js:529
wrappedActionHandler vuex.esm-browser.js:305
dispatch vuex.esm-browser.js:1031
boundDispatch vuex.esm-browser.js:914
showRothCOutputContainer ConfigurationsRothC.vue:164
0 ConfigurationsRothC.vue:66
Okk Awesome Got it, I am working on solving this issues. Thanks for letting me know this