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

[Assessment] Non required questionnaires are getting archived even when they haven't been answered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • MTA 7.0.0
    • MTA 7.0.0
    • Hub, UI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No
    • Critical

      Description of problem:

      The Archive functionality in the new assessment module is only meant to store information about previously required questionnaires that might have been answered while they were required once they are not required anymore. The enhancement states:

      "To replace one questionnaire with the other for architects assessing applications from the portfolio, the original one should be marked as non required (Required: Disabled) and the modified one should be marked as required (Required: Enabled). This will archive any previously answered questionnaires from the original one, which would be accessible in read only mode, and prompt the modified one as not answered."

      Right now, any questionnaire that was required at some point is being displayed on each and every application as archived, even if there were no instances of that questionnaire answered for that concrete application.

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

      mta-operator-bundle-container-7.0.0-44

      How reproducible:

      Steps to Reproduce:

      1. Select the administration perspective.
      2. Click on the assessment questionnaires option in the left menu.
      3. Import any questionnaire.
      4. Make that questionnaire required.
      5. Make the questionnaire not required again.
      6. Select the Migration perspective.
      7. Click on the application inventory.
      8. Click on the assess option from the kebab menu from any application in the inventory.

      Actual results:

      The questionnaire that was used in steps 3, 4 and 5 appears as archived, even when it hasn't been answered for that application.

      Expected results:

      The questionnaire that was used in steps 3, 4 and 5 shouldn't appear in the archived questionnaires section. If the application doesn't have any associated archived questionnaires, that section shouldn't even be rendered at all

      Additional info:

            ibolton@redhat.com Ian Bolton
            rromanni@redhat.com Ramon Roman Nissen
            mohamed idays mohamed idays
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: