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 2 years ago. Updated over 2 years 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 #1

Updated by Nicolas CHARLES over 2 years ago

  • Subject changed from Cannot delete technique in the technique editor if they've been created in the meta-technique categories to Cannot delete technique in the technique editor if they are not in the "User technique" categories
  • Description updated (diff)
Actions #2

Updated by Nicolas CHARLES over 2 years ago

this looks suspiciously like https://issues.rudder.io/issues/19006

Actions #3

Updated by Nicolas CHARLES over 2 years ago

  • Related to Bug #19006: Suppressed techniques coming back to life forever added
Actions #4

Updated by Nicolas CHARLES over 2 years ago

  • Subject changed from Cannot delete technique in the technique editor if they are not in the "User technique" categories to Cannot delete technique in the technique editor if it contains a space in its name
  • Description updated (diff)
  • UX impact set to I hate Rudder for that
Actions #5

Updated by François ARMAND over 2 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Priority changed from 0 to 150
Actions #6

Updated by François ARMAND over 2 years ago

  • Regression set to Yes

It used to work on previous patch version

Actions #7

Updated by François ARMAND over 2 years ago

  • Priority changed from 150 to 174

Regression: was ok in previous patch

Actions #8

Updated by Elaad FURREEDAN over 2 years ago

  • Status changed from New to In progress
  • Assignee set to Elaad FURREEDAN
Actions #9

Updated by Elaad FURREEDAN over 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Elaad FURREEDAN to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/4410
Actions #10

Updated by Anonymous over 2 years ago

  • Status changed from Pending technical review to Pending release
Actions #11

Updated by Alexis Mousset over 2 years ago

  • Fix check changed from To do to Checked
Actions #12

Updated by Vincent MEMBRÉ over 2 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.2.17, 7.0.6 and 7.1.4 which were released today.

Actions

Also available in: Atom PDF