Bug #1186
closedReport: No answer and directive with property "unique"
Description
When two directives from a technique with the "unique" property set to true are applied to the same node, and one directive has a lower priority than the other, the one with the lowest priority is reported to have status "no answer".
It's "normal", has that directive is in fact not applied (because it's the one with the highest priority which is), but the user should have that information in reports, and not a misleading "no answer" one.
Moreover, the fact that that report is "no answer" may lead to incorrect aggregated report status for the rules.
Updated by Nicolas CHARLES over 13 years ago
C'est une remarque très pertinente.
Néanmois, ca n'est pas une info que je stock dans les rapports attendus. Il y a deux approches :- changer les rapports attendu pour prendre en compte les PI effectivement appliqués
- filtrer a chaque affichage celle qui sont appliquées
- utiliser le contenu de NodeConfiguration pour savoir ce qu'on attend sur une NodeDetail
Je pense que la 1er est la plus pertinente
Updated by Nicolas CHARLES over 13 years ago
- Category changed from 6 to Web - Config management
Updated by Nicolas CHARLES over 13 years ago
- Target version changed from 9 to 10
Updated by Jonathan CLARKE over 13 years ago
- Status changed from New to Discussion
- Target version changed from 10 to 19
Quelque chose à voir avant de sortir la 2.3.0 Finale ?
Updated by Jonathan CLARKE over 13 years ago
- Target version changed from 19 to 21
Updated by Jonathan CLARKE over 13 years ago
- Target version changed from 21 to 23
Updated by Jonathan CLARKE about 13 years ago
- Target version changed from 23 to 18
Updated by François ARMAND about 13 years ago
- Target version changed from 18 to 24
Updated by Jonathan CLARKE over 12 years ago
- Target version changed from 24 to 18
Updated by François ARMAND over 12 years ago
- Subject changed from Report: No answer et policy unique to Report: No answer and directive with property "unique"
- Description updated (diff)
- Status changed from Discussion to 8
- Target version changed from 18 to 2.4.0~rc1
Updated by François ARMAND over 12 years ago
- Priority changed from N/A to 2
It seems to be a rather important bug, as if I understand correctly, any rules node with at least two "unique" directive from the same Technique will have wrong reports.
Updated by Nicolas CHARLES over 12 years ago
This is indeed a problem, but I'm afraid the impact of this modification for the 2.4 would be too big. When we compute the expected reports, we do it on a rule basis, and not on a node basis. Changing that would imply massive modifications, with a risk of malfunction.
Plus, it would be important to show to the user that a directive has been overriden by another, otherwise he might have unexpected behaviour.
The current solution with no answer shows that something happens, which is better than nothing from my point of view
Updated by Jonathan CLARKE over 12 years ago
- Status changed from 8 to New
- Target version changed from 2.4.0~rc1 to 24
Nicolas CHARLES wrote:
This is indeed a problem, but I'm afraid the impact of this modification for the 2.4 would be too big. When we compute the expected reports, we do it on a rule basis, and not on a node basis. Changing that would imply massive modifications, with a risk of malfunction.
Plus, it would be important to show to the user that a directive has been overriden by another, otherwise he might have unexpected behaviour.
The current solution with no answer shows that something happens, which is better than nothing from my point of view
I agree that this would be too big of a change for 2.4 at this stage. Also, it must be noted that there is currently only have one Technique that is "UNIQUE" (MULTIINSTANCE=false), and it's motdConfiguration - not really mission critical.
Let's move this to 2.5.
Updated by François ARMAND almost 12 years ago
- Target version changed from 24 to Ideas (not version specific)
Updated by François ARMAND over 10 years ago
- Status changed from New to Rejected
Duplicated by #5329