Delanno / kettle-cookbook

Automatically exported from code.google.com/p/kettle-cookbook
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Variables in path not expand correctly in links #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I discovered a problem in one of our projects the path to transformations in 
the job is hardcoded with a variable as 
${root_dir}/${content_source_import_dir}/transforms/read_all_files.ktr
In kettle.properties:
root_dir=C:/workspace/cdp/src/pentaho/contentSource/provider/lmv/kredit
content_source_import_dir=import

but in the documentation the link from the job to the transformation expand it 
rigth but does not remove the variable! 

The link gets: 
C:/pentahodoc/cdp/html/contentSource/provider/lmv/kredit/import/${root_dir}/${co
ntent_source_import_dir}/transforms/read_all_files.ktr.html.
But it should be:
C:/pentahodoc/cdp/html/contentSource/provider/lmv/kredit/import/transforms/read_
all_files.ktr.html

Added a smal test example.

lines for kettle.properties:
root_dir=C:/slask
content_source_validation_dir=test1

Using revision 61.

Original issue reported on code.google.com by jaka...@gmail.com on 16 Dec 2010 at 3:29

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by roland.bouman on 17 Dec 2010 at 8:09

GoogleCodeExporter commented 8 years ago
thanks for the detailed bug report. I think it is very similar to issue 31 so 
you might want to subscribe to that one if you want to keep track of further 
developments.

Original comment by roland.bouman on 17 Dec 2010 at 8:11

GoogleCodeExporter commented 8 years ago
A fix for this issue was added in r64

Original comment by roland.bouman on 18 Dec 2010 at 1:38