Project

General

Profile

Actions

Bug #26712

closed

When directives are skipped, they are multiplied in the directive tab of the rule

Added by Nicolas CHARLES 30 days ago. Updated about 21 hours ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

See screenshot


Files

clipboard-202504081432-ntubf.png (139 KB) clipboard-202504081432-ntubf.png Nicolas CHARLES, 2025-04-08 14:32
clipboard-202504082030-5sq4z.png (105 KB) clipboard-202504082030-5sq4z.png François ARMAND, 2025-04-08 20:30
clipboard-202504101429-0htpg.png (170 KB) clipboard-202504101429-0htpg.png Clark ANDRIANASOLO, 2025-04-10 14:29

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #24843: Rule with all directives skipped does not show in node compliance treeResolvedClark ANDRIANASOLOActions
Actions #1

Updated by François ARMAND 30 days ago

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

Actions #2

Updated by François ARMAND 28 days ago

  • 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.

Actions #3

Updated by Clark ANDRIANASOLO 28 days ago

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

Actions #4

Updated by François ARMAND 22 days ago

  • 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:

Actions #5

Updated by François ARMAND 21 days ago

  • Status changed from New to In progress
Actions #6

Updated by François ARMAND 21 days ago

  • 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
Actions #7

Updated by François ARMAND 20 days ago

  • Related to Bug #24843: Rule with all directives skipped does not show in node compliance tree added
Actions #9

Updated by Anonymous 13 days ago

  • Status changed from Pending technical review to Pending release
Actions #10

Updated by François ARMAND 9 days ago

  • Fix check changed from To do to Checked
Actions #11

Updated by Vincent MEMBRÉ about 21 hours ago

  • 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.

Actions

Also available in: Atom PDF