Project

General

Profile

Actions

Bug #21119

closed

When a technique is not in the active techique tree, it can't be deleted in editor

Added by François ARMAND 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 dislike using that feature
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
51
Name check:
To do
Fix check:
Checked
Regression:

Description

When things went wrong, we may happen to be in a situation where:
- a technique is in the editor
- but it is missing from the active technique tree (and so from directive screen).

In that case, we can't delete the technique anymore, we get an error message:

We must always be able to delete something, and delete must clean as much things as possible (and not fail on things that are already missing).


Files


Related issues 1 (1 open0 closed)

Related to Rudder - Bug #21295: When files from a deleted technique are still on fs, creation of technique with same name is impossibleNewActions
Actions #1

Updated by Elaad FURREEDAN over 2 years ago

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

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.2.14 to 6.2.15
Actions #3

Updated by Alexis Mousset over 2 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • UX impact set to I dislike using that feature
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 52
Actions #4

Updated by Anonymous over 2 years ago

  • Status changed from In progress to Pending release
Actions #5

Updated by François ARMAND over 2 years ago

Part of it seems to work, but I still get an error if files weren't correctly cleaned and I try to create a new technique with the same name than one that was incorreclty deleted:

In that case, files should be overwritten (ie: first finish cleaning, then save)

Actions #6

Updated by François ARMAND over 2 years ago

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

Updated by Elaad FURREEDAN over 2 years ago

  • Pull Request set to https://github.com/Normation/rudder/pull/4292
Actions #8

Updated by François ARMAND over 2 years ago

  • Related to Bug #21295: When files from a deleted technique are still on fs, creation of technique with same name is impossible added
Actions #9

Updated by Vincent MEMBRÉ over 2 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.2.15 which was released today.

Actions

Also available in: Atom PDF