Project

General

Profile

Actions

Bug #8024

closed

file_template_expand appears to not work within rudder

Added by Florian Heigl over 8 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
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 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?

Actions #2

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

Actions #3

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.

Actions #4

Updated by Alexis Mousset over 8 years ago

  • Category set to Generic methods
Actions #5

Updated by Alexis Mousset almost 8 years ago

It has been deprecated.

Actions #6

Updated by Jonathan CLARKE over 7 years ago

  • Status changed from Discussion to Rejected

Alexis MOUSSET wrote:

It has been deprecated.

Closing this, therefore.

Actions #7

Updated by Alexis Mousset over 2 years ago

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

Updated by Alexis Mousset over 2 years ago

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

Also available in: Atom PDF