Project

General

Profile

Actions

Bug #12694

closed

In Rudder 4.1, we cannot do reporting using a variable defined in a generic method

Added by Nicolas CHARLES over 6 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Medium
Priority:
0
Name check:
Fix check:
Regression:

Description

If we define a variable in a generic method, it is define during the run of the agent
If we plan on using it for reporting, then it will be used in the expected_reports.csv to generate expected report
however, as cfengine 3.10 ignore undefined variable, the line is completely deleted in the resulting expected report.csv file, and we don't get report


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #12693: Reporting context is not set correctly when using an iterator somewhereReleasedBenoît PECCATTEActions
Related to Rudder - Bug #12859: Reports from multivalued variable lead to unexpected and should notRejectedFrançois ARMANDActions
Actions

Also available in: Atom PDF