Bug #15575
closed
Avoid duplicating technique category when changing category name
Added by François ARMAND about 5 years ago.
Updated about 5 years ago.
Category:
Web - Config management
Description
When we change the category name of a technique and then add a technique in the category, it breaks rudder by duplicating the category. Then, technique are plits in directive view.
That's because the name in category.xml is considered to be the category ID.
This ticket PR avoid that by considering the category directory name as an ID (and so the name in category.xml is just a display name).
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/2428
- Status changed from Pending technical review to Pending release
- Name check changed from To do to Needs change
- Name check changed from Needs change to To do
- Fix check changed from To do to Error - Next version
- Fix check changed from Error - Next version to To do
- Fix check changed from To do to Checked
- Fix check changed from Checked to To do
- Fix check changed from To do to Error - Blocking
renaming a directory from myUserManagement to myUserManagement2 cause
[root@server systemSettings]# rudder server reload-techniques
error: Could not reload techniques from files
Error: An error occured when updating the Technique library from file system
cause:A category with that name already exists in that category: category names must be unique for a given level
- Related to Bug #2613: Problem when updating a category name for Technique Management in /var/rudder added
- Fix check changed from Error - Blocking to Error - Fixed
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.13 which was released today.
Also available in: Atom
PDF