Bug #26206
openDirective will not be displayed when clicking on a technique then on directive in tree
Description
In the directives tree, when clicking on a directive, the URL changes to one with a hash : /secure/configurationManager/directiveManagement#{"directiveId":"b6362db9-4cb0-415a-87aa-574ccf911725"}
.
Then when clicking on a technique (e.g. the technique of the directive or any other one), the technique is displayed, but the URL does not change.
So, when clicking again on the same directive, the directive will not be displayed back, the technique remains displayed.
However clicking on the directive attempts to set the URL to the same as the current one, this may be helpful for solving the issue :
this.window.location.hash = "#" + JSON.stringify({"directiveId":"c65e1edc-2b23-4215-a719-c36cfd919252"});
Workaround is to refresh the page, or open other directives to change the URL, then open the current one.
Updated by François ARMAND about 1 month ago
- Assignee set to Clark ANDRIANASOLO
- Priority changed from To review to 1 (highest)
Putting it to P1 because perhaps it's a quick win: thanks for the qualification!
All we have to do to correct it is to change the URL when clicking on a technique (even if we don't use the hash code to load the technique related UI).
So just "cleaning" the window location should be enough.
Can you take a look? If the proposed correction does not work, no need to spend more time on it at P1: we will change the prio to P2.
Updated by Clark ANDRIANASOLO about 1 month ago
- Status changed from New to In progress
Updated by Clark ANDRIANASOLO about 1 month ago
- Status changed from In progress to Pending technical review
- Assignee changed from Clark ANDRIANASOLO to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/6140
Updated by Clark ANDRIANASOLO 28 days ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|75d42039f0e8ba5d53418ba6aea6e863231d9d7b.
Updated by Elaad FURREEDAN 5 days ago
- Priority changed from 118 to 117
- Fix check changed from To do to Checked