IBM Support

PK96946: FORMAT = PATH RETURNS THE SAME RESULTS AS FORMAT = URL WHEN THE LINK ELEMENT POINTS TO A LINK CMPNT THAT REFERENCES CONTENT.

 

APAR status

  • Closed as program error.

Error description

  • When using a link element in content and pointing that link
    element to an existing link that points to content the format
    path option results in the same output as format="url".  The
    format = path and  as format = url both result in the /wps/wcm/s
    ervlet being included in the results.
    Using format="path" should not include the complete servlet path
    

Local fix

  • Bypass the existing link and point the link element in your
    content directly to the content the existing link would
    otherwise point to.
    

Problem summary

  • format = path returns the same results as format = url when the
    link element points to a link cmpnt that references content.
    

Problem conclusion

  • format = path returns the same results as format = url when the
    link element points to a link cmpnt that references content.
    Per the information center:
     Use format="url" to only render the full URL of a link element.
     Use format="path" to only render the site path of a link
                       element. For example, site/sitearea/content .
    /
    The code prior to this fix only returns the path for link
    elements that directly reference WCM content, otherwise it
    includes the complete servlet path + the path.  The code checks
    the element to determine if it points to WCM content and only
    applies the path format to those links.  It does not apply the
    path format for any other links including existing links that
    point to content.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK96946

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    61B

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-23

  • Closed date

    2009-10-05

  • Last modified date

    2011-01-10

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

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

Modules/Macros

  • WCM
    

Fix information

  • Fixed component name

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R61B PSY

       UP

  • R61A PSY

       UP

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

Document Information

Modified date:
21 December 2021