Project

General

Profile

Actions

Bug #24917

open

when we compile a disabled reporting block with rudderc , the generated metadata.xml is not readable

Added by Nicolas CHARLES 6 months ago. Updated 15 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

A block with several methods in it, with reporting disabled, will fail at compilation
Generated metadata.xml is

<SECTION id="fbccccd6-cc23-43f4-8da6-39f2368f2483" name="2.2.0 Variable definition" reporting="disabled" component="true" multivalued="true"/>

so rudder complains

Couldn't parse Section in hardening_pack_rudder_section2_2/1.0 -> Hardening pack for Rudder - section2.2 for XML: <SECTION multivalued="true" component="true" reporting="disabled" name="2.2.0 Variable definition" id="fbccccd6-cc23-43f4-8da6-39f2368f2483"/>; cause was: Parsing: Section '2.2.0 Variable definition' is multivalued and is component. A componentKey attribute must be specified 

removing the reporting disabled on top level fixed the issue

Actions

Also available in: Atom PDF