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

MTA UI - Importing duplicate questionnaire shows wrong notification

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • MTA 8.0.0
    • MTA 7.1.0
    • UI
    • No

      Description of problem

      When importing a duplicate questionnaire, it shows a popup with the message:

      Request failed with status code 409

      Version-Release number of selected component (if applicable)

      MTA 7.0.3 

      How reproducible

      Always

      Steps to Reproduce:

      1. Navigate to Assessment questionnaires page
      2. Click on import questionnaire
      3. Select a questionnaire to import
      4. Click to import another questionnaire, and select the same questionnaire again

      Actual results

      The following popup notification is displayed

      Request failed with status code 409

      Expected results

      A proper notification should be displayed indicating the questionnaire already exists e.g.

      UNIQUE constraint failed

              rhn-support-sshveta Shveta Sachdeva
              midays mohamed idays
              mohamed idays mohamed idays
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: