Project

General

Custom queries

Profile

Actions

Bug #20095

closed

If a rule is in a category that no longer exists, it can't be accessed in rule tree

Added by François ARMAND over 3 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

When a rule is in a category that was deleted (but was not empty), then the rule does not show the category anymore, and not the rules.

The rule can still be accessed by direct id, but it can create a mess since people may have applied configuration that they don't know anything about.

In that case, the correct thing to do is to display a category with it's id as name, at root level, with a message ("category was deleted"), et let user migrate and see rules.

#1

Updated by François ARMAND over 3 years ago

  • Description updated (diff)
#2

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 7.0.0~beta2 to 7.0.0~beta3
#3

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 7.0.0~beta3 to 7.0.0~rc1
#4

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 7.0.0~rc1 to 7.0.0~rc2
#5

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 7.0.0~rc2 to 7.0.0~rc3
#6

Updated by Elaad FURREEDAN about 3 years ago

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

Updated by Elaad FURREEDAN about 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/4093
#8

Updated by Anonymous about 3 years ago

  • Status changed from Pending technical review to Pending release
#14

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF