Bug #4404
closedThe bundle _classes_copy.cf does not copy prefix from result classes
Description
The bundle _classes_copy.cf copy the suffix of a result class but not the prefix.
Example:
The use of _classes_copy() from a command_execution() bundle to a service_restart() bundle will result into:
command_execution result classes:
- 'promise_repaired_command_execution__etc_init_d_cron_restart'
- 'command_execution__etc_init_d_cron_restart_repaired'
- 'command_execution__etc_init_d_cron_restart_ok'
- 'command_execution__etc_init_d_cron_restart_reached'
service_restart result classes:
- 'service_restart_cron_repaired'
- 'service_restart_cron_ok'
- 'service_restart_cron_reached'
promise_repaired_service_restart_cron is missing from the new classes.
Updated by Nicolas PERRON almost 11 years ago
- Status changed from New to Pending technical review
- Assignee set to Jonathan CLARKE
- Target version set to 0.x
- % Done changed from 0 to 100
Pull Request URL added: https://github.com/Normation/ncf/pull/33
I've also added an acceptance test which was missing...
Jon, could you review the PR please ?
Updated by Nicolas PERRON almost 11 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset 9888e6b2d239126f23c13e6193b2a710d8e5564f.
Updated by Jonathan CLARKE almost 11 years ago
Applied in changeset a77390d162e6f22410d85e26fbd7d1ac0b0c38bd.
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset over 2 years ago
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category set to Generic methods