Project

General

Profile

Actions

Bug #21491

closed

Cannot delete technique in the technique editor if it contains a space in its name

Added by Nicolas CHARLES over 1 year ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I hate Rudder for that
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
174
Name check:
To do
Fix check:
Checked
Regression:
Yes

Description

When we try to delete a technique that contains a space in its name, it doesn't delete: the webapp says it's ok but the logs says

[2022-07-27 15:46:41+0200] INFO  techniques.reader - Reloading technique library, no modified techniques found
[2022-07-27 15:46:41+0200] INFO  com.normation.rudder.services.policies.DeployOnTechniqueCallback - Update Technique library after deletion of Technique this technique wont delete

Workaround: delete from file system

cd /var/rudder/configuration-repository/techniques/ncf_techniques
rm -rf <deleted folder>
git add <deleted folder>
git commit -m "removing technique" 
rudder server reload-techniques


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #19006: Suppressed techniques coming back to life foreverReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF