Direct links to fixes
APAR status
Closed as program error.
Error description
When a Customer Segment specifies the "Job function" condition and a generic or guest user is checked to see if they belong to the customer segment, the following exception appears in the log: ------------------ [6/6/11 12:31:49:554 EST] 0000007e CommerceSrvr E com.ibm.commerce.command.ECCommandTarget executeCommand CMN0420E: The following command exception has occurred during processing: "java.lang.RuntimeException: javax.ejb.FinderException: The user (memberId = -1002) is a guest user. Return as not found.".java.lang.RuntimeException: javax.ejb.FinderException: The user (memberId = -1002) is a guest user. Return as not found. at com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmdI mpl.traceAndThrow(CheckUserInMemberGroupCmdImpl.java:2717) at com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmdI mpl.getUserSyncBean(CheckUserInMemberGroupCmdImpl.java:2504) at com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmdI mpl.evaluateJobFunctionCondition(CheckUserInMemberGroupCmdImpl.j ava:1820) at com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmdI mpl.evaluate(CheckUserInMemberGroupCmdImpl.java:615) at com.ibm.commerce.condition.SimpleCondition.evaluate(SimpleCondit ion.java:213) at com.ibm.commerce.condition.AndListCondition.evaluate(AndListCond ition.java:89) ------------------ The generic/guest user will not belong to the segment because the JobFunction member attribute will only be associated with a registered customer. However, this is a normal path scenario, and an exception should not be thrown. The CheckUserInMemberGroupCmd command should exit normally and return false. The customer segment can get evaluated by using the Customer Segment in a Marketing web activity, or by using the Promotion CalculationCodeListDataBean on an item display page.
Local fix
Problem summary
USERS AFFECTED: All WebSphere Commerce users on V7.0 using the "Job function" customer segment condition PROBLEM ABSTRACT: Exceptions are thrown when generic/guest users are checked against Customer Segments that use the "Job function" condition. BUSINESS IMPACT: Many exceptions are being thrown which will cause large log files and slow down performance. RECOMMENDATION:
Problem conclusion
The Customer Segment CheckUserInMemberGroupCmd command will no longer throw an exception when the "Job function" condition is evaluated for generic or guest users. ------------------------------------------------------------- The latest available maintenance information can be obtained from the Recommended Fixes for WebSphere Commerce technote: http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
Temporary fix
Comments
APAR Information
APAR number
JR39838
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
2011-06-13
Closed date
2011-07-25
Last modified date
2011-07-25
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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
25 July 2011