Project

General

Profile

Actions

Bug #4404

closed

The bundle _classes_copy.cf does not copy prefix from result classes

Added by Nicolas PERRON almost 11 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Assignee:
Jonathan CLARKE
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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.

Actions

Also available in: Atom PDF