Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Javascript Transformation - Error

  1. #1
    Join Date
    Oct 2007
    Posts
    107

    Default Javascript Transformation - Error

    Hello again group,

    I have a Javascript transformation (PDI 3.0RC) that create two variable using the same source of information (See screenshots). When testing the script, it fails. If I comment my second sentence, everything works fine.
    Either I'm really blind here or I'm facing a bug. Any ideas?

    Thanks for the help.
    Attached Images Attached Images   

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    This is known as http://jira.pentaho.org/browse/PDI-160

    When you test your script, a test value will be inserted as row value of "test test test...". If you do numeric conversions on that in your script the "test run" will fail. If you get right data during real execution it will work properly.

    Regards,
    Sven
    Last edited by sboden; 10-22-2007 at 03:18 AM.

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.