Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Another issue exporting all linked resources.

  1. #1

    Angry Another issue exporting all linked resources.

    Hi everyone,

    I am having an issue with the 'exporting all linked resources to XML'.
    I created a very simple transformation that uses the 'Set variables' step.
    This step has a 'Default value' - in case no rows get to it.
    Here is an image showing the transformation.
    Name:  example.jpg
Views: 32
Size:  29.6 KB

    The problem arises when i do the 'export all linked resources to XML', it seems as if the Default value does not make it to the XML. Here is a snippet of the XML:
    <step>
    <name>Set Variables</name>
    <type>SetVariable</type>
    <description/>
    <distribute>Y</distribute>
    <copies>1</copies>
    <partitioning>
    <method>none</method>
    <schema_name/>
    </partitioning>
    <fields>
    <field>
    <field_name>VarA</field_name>
    <variable_name>VARA</variable_name>
    <variable_type>ROOT_JOB</variable_type>
    <default_value/>
    </field>
    </fields>
    ...

    Has anyone encountered this behavior? Is there a fix for this? I know I can go and manually edit the XML, but the list of manual changes after export just keeps growing...

    Thanks,

    Carlos Castro

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Please mention the PDI version you are using, if you use a repository, etc in the bug report.

    Thanks,
    Matt

  3. #3

    Default

    I am using PDI 3.2.0.

    I do have a repository where I keep the jobs and transformations during development. When it comes time to deploy the job to the production servers this is done via the ZIP file created with the 'Export all linked resources' + the manual changes.

    I filed the a jira bug: http://jira.pentaho.com/browse/PDI-2605

    Carlos Castro

  4. #4
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Thanks Carlos!

  5. #5
    Join Date
    Feb 2008
    Posts
    216

    Default Not just the export all linked resources

    It does it with a straight export of xml as well:

    http://jira.pentaho.com/browse/PDI-2402

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.