In the editor here: https://rule-editor.cdisc.org/, if a file other than dataset file is uploaded, the whole editor goes blank, as seen in the attached screenshot.
To Reproduce
Go to the editor
Select any rule and go to the TEST tab
In the test Tab upload a define.xml file
upload any excel file other than the proper datasets.
After this the editor goes Blank
Possible Reason
This can be due to some unhandled exception in the code which is raised when it tries to read content from the dataset.
Recommendation
The uploaded file should be checked, if it is valid normal working should continue, otherwise an error message should be displayed. Handling this exception will make rule-editor more stable.
The editor now properly handles the case when a non dataset file is uploaded by returning error ion response. As now the editor do not crash, ticket is clear from QA.
Problem
In the editor here: https://rule-editor.cdisc.org/, if a file other than dataset file is uploaded, the whole editor goes blank, as seen in the attached screenshot.
To Reproduce
After this the editor goes Blank
Possible Reason
This can be due to some unhandled exception in the code which is raised when it tries to read content from the dataset.
Recommendation
The uploaded file should be checked, if it is valid normal working should continue, otherwise an error message should be displayed. Handling this exception will make rule-editor more stable.