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

[Assessment] Exporting a questionnaire includes unnecessary metadata

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • MTA 7.0.2
    • MTA 7.0.0
    • Hub
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Critical
    • No

      Description of problem:

      The following fields related to internal metadata about a questionnaire in the hub data model are being included when exporting it:

      • id
      • updateUser
      • createTime
      • required
      • builtin

      Those fields, especially id, make reimporting the questionnaire a more difficult task, as they might conflict with already existing data. Exports shouldn't include any environment specific data.

      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. Click on the kebab menu for any questionnaire in the table
      4. Select the Export option.

      Actual results:

      Exported YAML file includes environment relative metadata about the questionnaire. (See attached file)

      Expected results:

      Exported YAML only includes Questionnaire related data.

      Additional info:

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

                Created:
                Updated:
                Resolved: