-
Bug
-
Resolution: Unresolved
-
Normal
-
MTA 7.3.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
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.