IBM Support

PK95380: JET deletes content within dptk:roundtrip section after regenera ting

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Operating System: Microsoft Windows XP SP2
      - Product name: Rational Software Architect 7.0.0.4, Rational
    Software Architect for WebSphere Software 7.5.3
    
    Description of problem:
    The problem occurs when more code is removed from a user region
    than the distance between it and the following region.
    
    Step to reproduce:
    1. Create a JET template
    2. Add a two roundtrip sections where the first one contains qui
    te an amount of code between initialCode
    ?dptk:roundtrip?//BEGIN PROTECTION?dptk:initialCode?
      //TODO Implementation of business logic
      // some additional long comments
      sample Implementation code
    ?/dptk:initialCode?//END PROTECTION?/dptk:roundtrip?
    3. Run the JET transformation
    4. Change the text within the second roundtrip section of the ou
    tput generated by JET
    5. Run the JET transformation again
    Result:
    Changes within the second roundtrip section are overwritten in t
    he generated output
    
    Workaround:
    Making the initial code as small as possible will reduce the lik
    elihood of the problem. If the number of characters in the initi
    al code can be made smaller than the number of characters betwee
    n the first user region and the next, then the problem will neve
    r occur.
    The 'edge case' to test is: remove all the initial code from the
     first user region and verify that the second region still funct
    ions correctly.
    

Local fix

Problem summary

  • JET-based transformations can delete content within
    dptk:roundtrip or c:userRegion sections after regenerating
    in the following limited situations:
    * The 'initialCode' portion of the user region is larger (in
    number of characters) than the distance between one user
    region and the next
    * User changes to the initial code reduces the size of
    protected region.
    In this case, subsequent user region content may be lost.
    

Problem conclusion

  • Fixed in release RSx 7.5.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK95380

  • 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-03

  • Closed date

    2009-12-18

  • Last modified date

    2009-12-18

  • 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:
18 December 2009