Bug #8024
closedfile_template_expand appears to not work within rudder
Description
tml_file: File name (with full path within the framework) of the template file
The web ui doesn't tell you the ncf-valid path
it seems to also not be resolved when being run from rudder
Unable to open template file '${me.framework_path}//path/given/in/UI'
Updated by Alexis Mousset over 8 years ago
- Status changed from New to Discussion
- Assignee set to Benoît PECCATTE
- Target version set to 0.x
The me
bundle is not loaded by Rudder, file_template_expand is the only generic method to use it. We could use ${sys.workdir}/inputs
in all generic methods or include a me
bundle in Rudder.
Benoît, what do you think is the best option?
Updated by Nicolas CHARLES over 8 years ago
It should have exactly the same behaviour as the other file_from_template: use the full path of the file
Updated by Benoît PECCATTE over 8 years ago
file_remplate_expand should be deprecated.
It doesn't work as expected and it is redundant with file_from_template*
And people are confused by the existence of 2 methods.
Updated by Jonathan CLARKE over 7 years ago
- Status changed from Discussion to Rejected
Alexis MOUSSET wrote:
It has been deprecated.
Closing this, therefore.
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 changed from Generic methods to Generic methods