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

MTA UI breaks when bad indentation of custom rule file is uploaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • MTA 8.0.0
    • MTA 7.3.0
    • UI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      Tested on latest MTA-7.3.0-8 when tried to upload and Add bad or unaccepted indentation of custom rule file MTA UI gets break. For example I tried the yaml name python_rules_1.yaml
        Error message: Asked to refresh the page

      bad indentation of a sequence entry (22:2) 19 | when: 20 | python.referenced: 21 | pattern: "create_custom_re ... 22 | - message: python sample rule 004 -------^ 23 | ruleID: python-sample-rule-004 24 | description: sample-rule-4 - 

       

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

      7.3.0-8

       

              sdickers@redhat.com Scott Dickerson
              rhn-support-kpunwatk Karishma Punwatkar
              Shveta Sachdeva Shveta Sachdeva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: