Project

General

Profile

Actions

Bug #23244

closed

Technique editor throws errors when using blocks with the weighted default reporting option

Added by Félix DALLIDET over 1 year ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
I hate Rudder for that
User visibility:
First impressions of Rudder
Effort required:
Priority:
172
Name check:
To do
Fix check:
To do
Regression:
No

Description

I just created a technique through the technique editor and ended up with the following error, I could not find it in the log files and the technique is well generated and functionnal, it just can't be rendered in the technique editor.

The technique in yaml format as I can not export it in Json since it is the source of error:

id: test_windows
name: Test windows
version: '1.0'
items:
  - id: 9e23cdb8-e250-4c09-8163-442281028ec4
    name: Le premier
    method: directory_present
    params:
      path: C:\fda
  - id: a5c679d7-0005-4340-a99c-9ea68fe751cf
    name: Le deuxieme
    method: directory_present
    params:
      path: C:\fda
  - id: a29a530a-437c-490d-bc0b-97504af7246b
    name: Badaboum
    reporting:
      mode: weighted
    condition: windows
    items:
      - id: 57a3c49e-abd4-4b6f-bcb2-f192673d995c
        name: dans le bloc
        method: directory_present
        params:
          path: C:\fda3
category: ncf_techniques


Files

json.png (120 KB) json.png Félix DALLIDET, 2023-08-09 12:04
Actions #1

Updated by Elaad FURREEDAN over 1 year ago

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

Updated by Vincent MEMBRÉ over 1 year ago

  • Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
Actions #3

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/4992
Actions #4

Updated by Anonymous over 1 year ago

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

Updated by Vincent MEMBRÉ about 1 year ago

  • Status changed from Pending release to Released
  • Priority changed from 86 to 172

This bug has been fixed in Rudder 8.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF