Bug #26712
closed
When directives are skipped, they are multiplied in the directive tab of the rule
Added by Nicolas CHARLES about 1 month ago.
Updated about 24 hours ago.
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
- Status changed from Pending technical review to Pending release
- Fix check changed from To do to Checked
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.2.6 and 8.3.1 which were released today.
Also available in: Atom
PDF