Project

General

Profile

Actions

Bug #20551

closed

block still disapear in technique editor when we put a method in it

Added by Nicolas CHARLES almost 3 years ago. Updated almost 3 years ago.

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

Description

created a technique
put a block
add a method
move method in block
add a method
move method in block
block disappear


Files

block_disapear.gif (713 KB) block_disapear.gif Elaad FURREEDAN, 2022-01-14 16:07
clipboard-202201141608-bhboj.png (33.3 KB) clipboard-202201141608-bhboj.png Elaad FURREEDAN, 2022-01-14 16:08
clipboard-202201141619-dqsov.png (114 KB) clipboard-202201141619-dqsov.png Elaad FURREEDAN, 2022-01-14 16:19

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #20307: cannot save a technique with a block, and no indication whyResolvedActions

Updated by Elaad FURREEDAN almost 3 years ago

It seems that the block disapear only if the method after the block is drag in the block

The bug seems to come from :

you can see what the value for elem and drop :

elem: Block Nothing { calls = [], component = "", condition = { advanced = "", os = Nothing }, id = { value = "ae9f233a-1444-46d1-bcaf-d4726d7d0035" }, reportingLogic = WeightedReport }
drop: InBlock { calls = [], component = "", condition = { advanced = "", os = Nothing }, id = { value = "ae9f233a-1444-46d1-bcaf-d4726d7d0035" }, reportingLogic = WeightedReport }

The code continues to MoveCompleted :

with the log :
t.elems: [Block Nothing { calls = [], component = "", condition = { advanced = "", os = Nothing }, id = { value = "ae9f233a-1444-46d1-bcaf-d4726d7d0035" }, reportingLogic = WeightedReport },Call Nothing { component = "", condition = { advanced = "", os = Nothing }, disableReporting = False, id = { value = "f6440209-469b-481a-a96e-dd65c9553685" }, methodName = { value = "command_execution" }, parameters = [{ id = { value = "command" }, value = [Value ""] }] }]
b: Block Nothing { calls = [], component = "", condition = { advanced = "", os = Nothing }, id = { value = "ae9f233a-1444-46d1-bcaf-d4726d7d0035" }, reportingLogic = WeightedReport }

Actions #2

Updated by Vincent MEMBRÉ almost 3 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #3

Updated by Vincent MEMBRÉ almost 3 years ago

  • Assignee changed from Vincent MEMBRÉ to Elaad FURREEDAN
  • Pull Request set to https://github.com/Normation/rudder/pull/4112
Actions #4

Updated by Elaad FURREEDAN almost 3 years ago

  • Related to Bug #20307: cannot save a technique with a block, and no indication why added
Actions #5

Updated by Vincent MEMBRÉ almost 3 years ago

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

Updated by Vincent MEMBRÉ almost 3 years 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