IBM Support

PK96578: Regression: javascript validation issue eclipse bug 241794

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Env:
    Rational Application Developer 7.5.3
    
    Description:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=241794
    
    If you have such javascript code
    
    function doSomething(){doSomeotherthing();}
    function doSomeotherthing(){<% Simpletest.getHi(); %> }
    
    Java script will only complain that 'The function
    doSomeotherthing() is undefined'.
    Although in 7.5 it was complaining about the following
      'Syntax error on token '<', invalid expression'
     'Syntax error, insert '}' to complete MethodBody'
      'The function doSomeotherthing() is undefined'.
    
    and if you switch the order
    
    function doSomeotherthing(){<% Simpletest.getHi(); %> }
    function doSomething(){doSomeotherthing();}
    
    It doesn't complain about anything.
    

Local fix

Problem summary

  • See Error Description
    

Problem conclusion

  • Fixed in Rational Application Developer V7.5.5
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK96578

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    753

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-18

  • Closed date

    2009-12-17

  • Last modified date

    2009-12-17

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R753 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 December 2009