Actions
Bug #4797
closedWhen using multiple times the same generic method on the same object, the reporting will be broken for all of them
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
If I have a MetaTechnique M1 which install a package p1 from a list of packages and a MetaTechnique M2 installing p1 from another list of packages, the reporting will fail.
Indeed, on the Directive from M1, the reporting about p1 will be in "No Answer" state and on the Directive from M2, the reporting about p1 will be in "Unknown state" as it will have 2 reports for the same Directive.
The problem come from the logger_rudder.cf which use getfields which match only the first occurrence of class_prefix and that the class_prefix of M1 and M2 are the same (i.e: package_install_p1).
I suppose that readstringarray should be used in place of getfields.
Updated by Benoît PECCATTE over 8 years ago
- Has duplicate User story #6369: Run twice the same action added
Updated by Alexis Mousset over 8 years ago
- Has duplicate Bug #5534: 2 method calls on the same object produce a confusion in the reports added
Updated by Alexis Mousset over 8 years ago
- Subject changed from If two differents MetaTechniques uses the same action on the same object, the reporting will never be ok to When using multiple times the same generic method on the same object, the reporting will be broken for all of them
Updated by Alexis Mousset over 8 years ago
- Has duplicate Architecture #6101: We should be able to call ncf generic methods more than once added
Updated by Alexis Mousset almost 8 years ago
- Target version changed from 0.x to master
Updated by Alexis Mousset almost 8 years ago
- Status changed from New to Rejected
It will be fixed by the new class prefix in #7155, closing.
Updated by Alexis Mousset over 2 years ago
- Target version changed from master to ncf-1.2
- Priority set to 0
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Actions