Bug #26712
open
When directives are skipped, they are multiplied in the directive tab of the rule
Added by Nicolas CHARLES 11 days ago.
Updated 1 day ago.
Status:
Pending technical review
Category:
Web - Compliance & node report
Description
See screenshot

Files
And strangely, it's OK in the node details page:

- Assignee set to François ARMAND
- Priority changed from To review to 1 (highest)
This is very strange, plus there is MASSIVE performance problem on that part. We need to investigate both the inconsistency and the performance part of that bit of code.
Especially, the skipped directive badge should have tooltips, but they are not showing...
The same directive appear to be skipped for many different reasons, as many as there are repeated lines :

The message indicate that there are many rules that cause a directive to be overridden :
This directive is skipped because it is overridden by the rule <b>Rule10</b> (with id 81be8057-f3d2-4bfe-b049-50a9e5dcb663).
The compliance API or Elm processing is probably wrong then, it should display a single element with the details of all overriding rules for a directive
- Subject changed from We directives are skipped, they are multiplied in the directive tab of the rule to When directives are skipped, they are multiplied in the directive tab of the rule
Actually, we even have a test for that :facepalm:
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Clark ANDRIANASOLO
- Pull Request set to https://github.com/Normation/rudder/pull/6335
- Related to Bug #24843: Rule with all directives skipped does not show in node compliance tree added
Also available in: Atom
PDF