Bug #20918
closedUse report_data.component_key instead of value passed as parameter
Description
Since log_rudder uses value passed as parameter instead of value from bundle report_data, we cannot have an impact on the value produced by reporting. This is not a problem in techniques from the technique editor since, in most cases the value is the same as the one in report_data.
This can cause an issue with built in techniques, and especially new 7.1 system techniques, which are based on editor methods, but they expect a completely different report value, set in hte method_reporting context before calling the method.
This can also open the way of a customized reporting value, which could be very intesting (sometimes you may not want to report on the same value, maybe with something more related to the value)
Updated by Vincent MEMBRÉ almost 3 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ almost 3 years ago
- Assignee changed from Vincent MEMBRÉ to Alexis Mousset
- Pull Request set to https://github.com/Normation/ncf/pull/1345
Updated by Anonymous almost 3 years ago
- Status changed from In progress to Pending release
Applied in changeset ncf|b4ba2da3d5b845f09e2af80cbb11942f1c99668b.
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.1.0~beta2 which was released today.