Project

General

Profile

Actions

Bug #8024

closed

file_template_expand appears to not work within rudder

Added by Florian Heigl over 6 years ago. Updated 4 months ago.

Status:
Rejected
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

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'

Actions #1

Updated by Alexis Mousset over 6 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?

Actions #2

Updated by Nicolas CHARLES over 6 years ago

It should have exactly the same behaviour as the other file_from_template: use the full path of the file

Actions #3

Updated by Benoît PECCATTE over 6 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.

Actions #4

Updated by Alexis Mousset about 6 years ago

  • Category set to Generic methods
Actions #5

Updated by Alexis Mousset over 5 years ago

It has been deprecated.

Actions #6

Updated by Jonathan CLARKE over 5 years ago

  • Status changed from Discussion to Rejected

Alexis MOUSSET wrote:

It has been deprecated.

Closing this, therefore.

Actions #7

Updated by Alexis Mousset 4 months ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #8

Updated by Alexis Mousset 4 months ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF