Bug #15575
closedAvoid duplicating technique category when changing category name
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).
Updated by François ARMAND over 5 years ago
- Status changed from New to In progress
Updated by François ARMAND over 5 years ago
- 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
Updated by François ARMAND over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|f11988f2df143b212b513dfea5d7ec3a83afc6d3.
Updated by Vincent MEMBRÉ over 5 years ago
- Name check changed from To do to Needs change
Updated by Vincent MEMBRÉ over 5 years ago
- Name check changed from Needs change to To do
Updated by Vincent MEMBRÉ over 5 years ago
- Fix check changed from To do to Error - Next version
Updated by Vincent MEMBRÉ over 5 years ago
- Fix check changed from Error - Next version to To do
Updated by Vincent MEMBRÉ over 5 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 5 years ago
- Fix check changed from Checked to To do
Updated by Nicolas CHARLES over 5 years ago
- 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
Updated by François ARMAND over 5 years ago
- Related to Bug #2613: Problem when updating a category name for Technique Management in /var/rudder added
Updated by Vincent MEMBRÉ over 5 years ago
- Fix check changed from Error - Blocking to Error - Fixed
Updated by Vincent MEMBRÉ over 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.13 which was released today.