The expected reports of other rules are not correctly updated when we create a new rule
I created a directive to install a package, that a applied twice on two identical rule
The result is:
- the generated promises ocntains twice the package to install
- one of the rule contains all the node in its target list
- another one does contain only one node in its target list
When drilling down in the database, the expected reports on node have the config id correct for the second rule created, but for the first one, only one out of two has the correct config id (the fact that it is first and second may be just random)
Updated by Nicolas CHARLES over 6 years ago
- Subject changed from When I apply same directive twice to Node, the expected reports are not correctly updated to The expected reports of other rules are not correctly updated when we create a new rule
Ok ,the problem is more complex than that.
Simply creating a new rule to nodes will change the ocnfig id for this node, but not the expected config id of all others rules applying on these nodes. So it fails...