Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-1907

[Questionnaire] The questionnaire menu becomes unavailable when importing an invalid YAML file

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      In the questionnaires menu, when importing a YAML file that lacks specific values, the menu breaks and the user loses access to it. 

      Version-Release number of selected component (if applicable): 7.0.0

      How reproducible: Always

      Steps to Reproduce:
      1. Go to Administration -> Assessment questionnaires
      2. Click on "Import questionnaire" and upload a YAML file that doesn't have answers on one of their questions. (There is an example file attached)

      Actual results: The menu becomes unavailable 

      Expected results: MTA shouldn't accept yaml files with invalid values. 

      Additional info:

      Video and example file attached.

      Video with console output: https://jam.dev/c/2fe247c8-ef34-447e-bf96-967873211a66

       

              slucidi@redhat.com Samuel Lucidi
              rh-ee-abrugaro Alejandro Brugarolas
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: