Bug #5888
closedStatus of Rule is displayed as "N/A"
Description
I just added a Directive, and applied it to the default rule "Global configuration for all nodes". I don't recall if this was displayed correctly previously or not, but now it is definitely broken:
Files
Updated by Jonathan CLARKE about 10 years ago
- File 3.png 3.png added
- Subject changed from Status of Rules is displayed as "N/A" in Directives screen to Status of Rule is displayed as "N/A"
Actually, this is the same in the Rules screen now:
Note: I created a "SSH configuration" directive, and ticked the box of this Rule from the Directives screen to add it. This may be a way to reproduce.
Updated by Nicolas CHARLES about 10 years ago
Ok, the issue here is we display immediately the rule list after updating the directive, but we rely on data post promises generation to display the data of the rule (they are computed by generation and stored in database). Once the generation is completed, the status is ok
It happens only with empty rules where you put directives in them
In 2.11, it displayed "Applying" in this case
Updated by François ARMAND about 10 years ago
- Target version changed from 3.0.0~beta2 to 3.0.0~rc1
Updated by Nicolas CHARLES almost 10 years ago
- Status changed from New to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/742
Updated by Nicolas CHARLES almost 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 589832bbfa332e7f3e545bdb0c174220bf30654a.
Updated by Nicolas CHARLES almost 10 years ago
Applied in changeset 4285540e086150f195282114c8a92fd800eaac42.
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.0~rc1, which was released today.
- Announcement 3.0
- Changelog 3.0
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/