Project

General

Profile

Actions

Bug #19769

closed

Cannot save a technique with a block with reporting focused on one method

Added by Nicolas CHARLES over 3 years ago. Updated about 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

v[2021-08-12 17:00:35+0200] ERROR application - An error occurred when compiling technique 'Bob' (id : 'BundleName(Bob)') with rudderc, error details in /var/log/rudder/rudderc/failures/2021-08-12T17:00:35.802+02:00_Bob.log, falling back to old saving process
Fiber failed.
An unchecked error was produced.
com.normation.cfclerk.xmlparsers.EmptyReportKeysValue: In 'expectedReportKey File absent', the element REPORTKEYS must have a non empty list of provided values: <REPORTKEYS><VALUE>val foo</VALUE><VALUE>...
        at com.normation.cfclerk.domain.SectionVariableSpec$.apply(VariableAndSectionSpec.scala:403)
        at com.normation.cfclerk.xmlparsers.VariableSpecParser.parseSectionVariableSpec(VariableSpecParser.scala:134)
        at com.normation.cfclerk.xmlparsers.SectionSpecParser.parseOneVariable$1(SectionSpecParser.scala:192)
        at com.normation.cfclerk.xmlparsers.SectionSpecParser.$anonfun$parseChildren$4(SectionSpecParser.scala:205)
        at cats.data.Chain$.$anonfun$traverseViaChain$1(Chain.scala:797)
        at cats.Later.value$lzycompute(Eval.scala:148)
        at cats.Later.value(Eval.scala:147)
        at cats.Eval$.loop$1(Eval.scala:338)
        at cats.Eval$.cats$Eval$$evaluate(Eval.scala:363)
        at cats.Eval$FlatMap.value(Eval.scala:284)
        at cats.data.Chain$.traverseViaChain(Chain.scala:825)
        at cats.instances.ListInstances$$anon$1.traverse(list.scala:96)
        at cats.instances.ListInstances$$anon$1.traverse(list.scala:17)

Files

2021-08-12T17_00_35.802+02_00_Bob.log (2.89 KB) 2021-08-12T17_00_35.802+02_00_Bob.log Nicolas CHARLES, 2021-08-12 17:02
technique.json (1.72 KB) technique.json Nicolas CHARLES, 2021-08-12 17:03
technique.cf (1.49 KB) technique.cf Nicolas CHARLES, 2021-08-12 17:03
metadata.xml (1.62 KB) metadata.xml Nicolas CHARLES, 2021-08-12 17:03

Subtasks 1 (0 open1 closed)

Bug #20225: Block clone is not resetting id of blok elementReleasedFrançois ARMANDActions
Actions #1

Updated by Nicolas CHARLES over 3 years ago

simply removing section

-    <SECTION component="true" multivalued="true" name="File absent">
-      <REPORTKEYS>
-        <VALUE></VALUE>
-      </REPORTKEYS>
-    </SECTION>

doesn't fix the issue: reporting is broken with unexpected report File Absent

Actions #2

Updated by François ARMAND over 3 years ago

  • Target version changed from 7.0.0~beta1 to 900
Actions #3

Updated by François ARMAND over 3 years ago

  • Assignee set to Vincent MEMBRÉ
  • Target version changed from 900 to 7.0.0~beta1

Perhaps that one blocks beta1, it looks like a non working nominal case.

Actions #4

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 7.0.0~beta1 to 7.0.0~beta2
Actions #5

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from New to In progress
Actions #6

Updated by Vincent MEMBRÉ about 3 years ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/3943
Actions #7

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 7.0.0~beta2 to 7.0.0~beta3
Actions #8

Updated by Vincent MEMBRÉ about 3 years ago

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

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF