IBM Support

PK59487: PORTLET GENERATOR DOESN'T WORK WITH ARRAYS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using Rational Application Developer V7.0.0.5
    Array of records in business process message object is not handl
    ed properly when dragging it from Page data view to Page designe
    r editor.
    Step to reproduce:
    1) Create a business process in WebSphere Integration Developer
    which returns an object foo that has a field bar of an array of
    business objects
    2) Create a JSR168 Faces Portlet project with Business Process I
    ntegration (Handle process) enabled.
    3) Open the .jsp page, in view Page data, click on Services ? Bu
    siness Process Message.
    4). In the Message Schema file dialog, select Human task, click
    on Browse and select the Interface wsdl file from your business
    process
    5) Click on Next and then choose the response message. Click on
    Finish
    Result:
    The correct structure of the object foo will be displayed in Pag
    e data view below Services.
    6) Drag and drop the object foo from Page Data view onto the JSP
    .
    7) A Configure data controls dialog appears in which there is a
    field called 'foo.bar'. Click on Next close to this field in the
     same dialog.
    Result:
    The dialog shows all fields under the bar object in the correct
    way
    8) Click on Finish and again on Finish
    Result:
    The generated .jsp code is not correct. The fields under the 'ba
    r' object are ignored although it appears under the message obje
    ct in Page data view
    

Local fix

Problem summary

  • If an XSD contained an array type it was not being
    recognized by the tooling, so the User Interface generator
    was treated type as a normal output field.
    

Problem conclusion

  • Added a special check to determine if the field is an array,
    so that we correctly generate a User Interface table.
    
    Fix delivered in Rational Application Developer V7.0.0.6
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK59487

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-01-17

  • Closed date

    2008-03-28

  • Last modified date

    2008-03-28

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

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

    JR28469

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R700 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.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 March 2008