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

Excluded labes are ignored when also included in the analysis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • MTA 8.0.2
    • MTA 7.3.0
    • Application Analysis
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Relates to https://issues.redhat.com/browse/MTA-4973

      Description of problem:

      When using a custom rule in an analysis in the UI, all the labes of those rules are added to the "included" list, if the user wants to exclude a label that is present in one of the custom rules, the label ends in both, the "include" and "exclude" lists in the analysis config.

       

      However, looks like the include has the highest priority so the label is not excluded at all.

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

      How reproducible: Always

       Steps to Reproduce:
      1. Create an application using the tackle-testapp-public repo (https://github.com/konveyor/tackle-testapp-public)
      2. Analyze it without selecting any targets, providing the custom rules I'm attaching to the bug and excluding the "skip" label 

      Actual results:

      The rule with the "skip" label is included and an incident is reported.

      Expected results:

      The ** excluded labels should have priority over the included ones

      Additional info:

      Analysis details attached.

              pgaikwad1@redhat.com Pranav Gaikwad
              rh-ee-abrugaro Alejandro Brugarolas
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: