IBM Support

PM75529: REMOTE ACTION URL RESULTS IN INDEXOUTOFBOUNDSEXCEPTION WHEN SETT ING A LINK WITH WCMFIELD.ELEMENT.ELEMENTNAME.ID=

 

APAR status

  • Closed as program error.

Error description

  • Remote Action URL results in IndexOutOfBoundsException when
    setting a link with wcmfield.element.elementName.id=
    
    The following message is logged:
    
    
    10/10/12 10:48:06:879 CEST ᄄ 00000062 AbstractComma E   <Null
    Message>
                                     java.lang
    IndexOutOfBoundsException
    Index  0, Size: 0
    
        at java.util.ArrayList.get(ArrayList.java:352)
    
        at com.ibm.workplace.wcm.app.ui.portlet.command.remote
    .RemoteCommandUtils.setLinkComponent
      (RemoteCommandUtils.java:359) . . .
    
    Opened for release 7002
    

Local fix

  • Clear link using UI.
    

Problem summary

  • Remote Action URL results in IndexOutOfBoundsException  when
    setting a link with wcmfield.elementName.id=
    
    WCM code does not handle an empty value for the
    wcmfield.elementName.id= of a link and rather assumes this will
    not be empty.
    

Problem conclusion

  • Code was updated to handle the case by clearing the link when
    wcmfield.elementName.id= is passed without an id.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM75529

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-22

  • Closed date

    2012-11-29

  • Last modified date

    2012-11-29

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
21 December 2021