Project

General

Profile

Actions

Bug #20445

closed

When we move a technique in editor, resources are not moved

Added by François ARMAND 12 months ago. Updated 10 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

Description

If we create a technique in editor, give it some resources, save, and then try to change technique category, the resources are not moved along with the technique and generation error ensues.


Files

bug_category.gif (1.73 MB) bug_category.gif Elaad FURREEDAN, 2021-12-28 23:39
Actions #1

Updated by Elaad FURREEDAN 11 months ago

When I try to reproduce, the resources are moved with the technique in the editor, but when I refresh the page, the technique remains in the previous category, seems that the category is not saved when updating

Actions #2

Updated by Elaad FURREEDAN 11 months ago

Technique's files are cloned into the new category's path but it remains also in the previous category's path
I think we should moved instead of duplicate it when the category is updated

Actions #3

Updated by Elaad FURREEDAN 11 months ago

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

Updated by Elaad FURREEDAN 11 months ago

  • Status changed from In progress to New
  • Assignee deleted (Elaad FURREEDAN)

In fact we should not be able to change category. In previous version we couldn't change the category, it seems too risky to change it.
Once the technique is created, the input should be on readonly.

Actions #5

Updated by Elaad FURREEDAN 11 months ago

  • Status changed from New to In progress
Actions #6

Updated by Elaad FURREEDAN 11 months ago

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

Updated by Anonymous 11 months ago

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

Updated by Anonymous 11 months ago

Actions #9

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~rc3 which was released today.

Actions

Also available in: Atom PDF