Skip to main content

IO18065: THE IBMJS EVAL() METHOD DOES NOT HANDLE A JAVA STRING


Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The IBMJS eval() method does not handle a Java String
    
    Description:  There is a subtle difference between the way a
    JavaScript
    String and Java String (returned from Java methods)
    are stored. The eval() does nothing the Java Strings.
    
    Steps to Duplicate:
    In TDI create the following two components:
    1. Have a Library Script named 'evalScript' containing:
    alname = task.getName();
    return "ARF_" + alname;
    2. Have an Assemblyline which uses this script.
    scr = system.getScriptText("evalScript");
    task.logmsg(eval(scr));
    
    Desired Behavior:
    Instead of returning 'return "ARF_" + alname', the eval() is
    expected
    to return the evaluated Java string.
    
    Environment: TDI 7.1.1
    

Local fix

  • 1800
    

Problem summary

  • Problem with IBM JavaScript Engine.
    

Problem conclusion

  • This is bug in TDI code and has been fixed, formal fix would be
    made available in 7.1.1-TIV-TDI-FP0003.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IO18065

  • Reported component name

    ITDI MULTIPLATF

  • Reported component ID

    5724D9960

  • Reported release

    711

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-04

  • Closed date

    2013-02-25

  • Last modified date

    2013-02-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    ITDI MULTIPLATF

  • Fixed component ID

    5724D9960

Applicable component levels

  • R711 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Directory Integrator

General


Software version:
711


Reference #:
IO18065


Modified date:
2013-02-25

Translate my page

Content navigation