IBM Support

JR53376: Tool to generate Commerce Composer widget code uses Feature Pack 7 widget folder name in Feature Pack 8

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Feature Pack 7, IBM introduced a Java Emitter Template (JET)
    PageComposer Resource pattern to generate source code files to
    use as a starting point when creating a custom Commerce Composer
     widget. To use this pattern, developers must create a pattern
    input file that contains information used to generate the source
     files.
    
    In Feature Pack 8, IBM changed the location for the Commerce
    Composer widget source files:
    
    Feature Pack 7 location:
    <WCDE_installdir>\workspace\Stores\WebContent\Widgets
    
    Feature Pack 8 location:
    <WCDE_installdir>\workspace\Stores\WebContent\Widgets_701
    
    However, the JET PageComposer Resource pattern still uses the
    Feature Pack 7 location for the include path in store JSP files
    ("Widgets" instead of "Widgets_701"), even when used in Feature
    Pack 8.
    
    For Feature Pack 8, the developer should be able to specify the
    "Widgets_701" location in the JET PageComposer Resource pattern.
    

Local fix

  • Without this fix, developers must manually update the generated
    files from the JET PageComposer Resource pattern.
    

Problem summary

  • USERS AFFECTED:
    IBM WebSphere Commerce Version 7 Feature Pack 8 Aurora starter
    store developers.
    
    PROBLEM ABSTRACT:
    Tool to generate Commerce Composer widget code uses Feature Pack
     7 widget folder name in Feature Pack 8
    
    BUSINESS IMPACT:
    Without this fix, the widget files generated by the JET
    PageComposer Resource pattern in Feature Pack 8 will have an
    incorrect store JSP file path.
    
    RECOMMENDATION:
    

Problem conclusion

  • The input file for the JET PageComposer Resource pattern now
    supports the following optional attribute:
    
    IBMStoreWidgetsFolder
    
    With this fix, developers can specify the folder name for
    widgets. For example:
    
     - For a Feature Pack 7 store, the developer can specify
    "Widgets"
     - For a Feature Pack 8 store, the developer can specify
    "Widgets_701"
    
    If this attribute is not specified, "Widgets" will be used as
    the default value for the folder.
    
    Here is an example of the input file with the new attribute
    specified for a Feature Pack 8 store:
    <widget
    IBMStoreWidgetsFolder="Widgets_701">
    <widgetDef identifier="TestWidget"
    UIObjectName="TestWidget"
    displayName="TestWidget"
    description="TestWidgetDescription" >
    </widgetDef>
    </widget>
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR53376

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-05-19

  • Closed date

    2015-06-19

  • Last modified date

    2015-06-19

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
12 December 2021