APAR status
Closed as program error.
Error description
The inheritance between base and custom wc-search.xml files when it comes to sort has changed with APARs JR50972/JR52512. If these two APARs are installed, you cannot use the custom wc-search.xml file to override or remove any fields that are defined in the base wc-search.xml file. The 'sort' configuration only supports merging. For example, If the base wc-search.xml file has sort fields <_config:sort> <_config:field name="1" value="mfName_ntk_cs asc"/> <_config:field name="2" value="name_ntk asc"/> <_config:field name="3" value="price_* asc"/> <_config:field name="4" value="price_* desc"/> </_config:sort> and the custom wc-search.xml file has sort fields <_config:sort> <_config:field name="1" value="name_ntk asc"/> <_config:field name="5" value="partNumber_ntk asc"/> <_config:field name="6" value="partNumber_ntk desc"/> </_config:sort> The final profile sort options contain field names 1 to 6, but field name="1" in the custom file does not override the entry in the base file.
Local fix
In the JSP file, code the sort options as desired (for example, code the sequence and the available options).
Problem summary
USERS AFFECTED: WebSphere Commerce V7 Feature Pack 7 or later with JR50972 and JR52512 installed. PROBLEM ABSTRACT: Cannot override sort properties in the wc-search.xml file after installing JR50972 and JR52512 BUSINESS IMPACT: Developers cannot override search profile sorting properties in the wc-search.xml file. RECOMMENDATION:
Problem conclusion
The fix provides support to override or remove a base profile sort config value. For example, in the custom wc-search.xml file, 1. To override base profile sort config value of field 1 <_config:sort> <_config:field name="1" value="score desc"/> <_config:sort> 2. To remove base profile sort config field 2 <_config:sort> <_config:field name="2"> <_config:sort>
Temporary fix
Comments
APAR Information
APAR number
JR54065
Reported component name
WC BUS EDITION
Reported component ID
5724I3800
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
YesSpecatt / New Function / Xsystem
Submitted date
2015-08-13
Closed date
2015-09-03
Last modified date
2015-09-03
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:
11 December 2021