Project

General

Profile

Actions

Bug #2613

closed

Problem when updating a category name for Technique Management in /var/rudder

Added by Jean VILVER over 12 years ago. Updated about 5 years ago.

Status:
Released
Priority:
4
Category:
Web - Config management
Target version:
Severity:
Trivial - no functional impact | cosmetic
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
18
Name check:
To do
Fix check:
Checked
Regression:

Description

The problem:

If we edit a technique category :

% vim /var/rudder/configuration-repository/techniques/systemSettings/networking/category.xml

And then change the name of that category :

<xml>
  <!-- <name>Networking</name> -->
  <name>Networking new name</name>
  ...
</xml>

Then:

% cd /var/rudder/configuration-repository
% git add .
% git commit -m "Change category name" 

And then if we go on Technique Library Management in the user interface, and press "Reload", the category name hasn't changed.

The workaround:

If we want the "Reload" to work, we need to edit a technique. For example a technique name :

% vim /var/rudder/configuration-repository/techniques/systemSettings/networking/nfsClient/1.0/metadata.xml

And then change the technique's name :

<TECHNIQUE name="NFS Client new name">
<!-- <TECHNIQUE name="NFS Client"> -->
  ...
</TECHNIQUE>

Then:

% cd /var/rudder/configuration-repository
% git add .
% git commit -m "Change technique name" 

Now if we press "Reload", the technique change and the category name change are visible.

A other change must be there (i.e. change technique name) if we want to update a category in the user interface. This behavior has to be fixed.


Subtasks 4 (0 open4 closed)

Bug #15590: Renaming/moving technique category fails in several wayReleasedNicolas CHARLESActions
Bug #15623: Moving a category fails with "missing ldap attribute"ReleasedVincent MEMBRÉActions
Bug #15651: Moving a category from a subcategory to root failsReleasedVincent MEMBRÉActions
Bug #15673: Parent ticket didn't corrected the problem when a category is moved to rootReleasedVincent MEMBRÉActions

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #2188: Reloading the Policy Template Library doesn't always reload everythingRejectedFrançois ARMAND2012-01-23Actions
Related to Rudder - Bug #15575: Avoid duplicating technique category when changing category nameReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF