-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
None
-
False
-
-
False
-
-
-
No
Description of problem:
If the user tries to import a valid YAML file that doesn't match the questionnaire format, the UI doesn't display any error on the screen.
An error is, however, visible in the browser console.
Version-Release number of selected component (if applicable): 7.0.0
How reproducible: Always
Steps to Reproduce:
1. Go to Administration->Questionnaires
2. Click on "Import questionnaire"
3. Select a YAML file that has nothing to do with the required format (You can find an example file attached)
Actual results:
No message is displayed in the UI and an "Invalid JSON data" error is fired in the browser console
Expected results:
If a YAML file is not valid, an error should be displayed in the UI.
Additional info:
Video and example file attached.
Video with console output: https://jam.dev/c/3e4fbb50-3850-4d45-ab52-877ba1b4b7df
- links to
-
RHBA-2023:120350 Migration Toolkit for Applications bug fix and enhancement update
- mentioned on