APAR status
Closed as program error.
Error description
Changing the display attribute in Authoring is done by adding the following property in WCMConfigService.properties : connect.usermanagement.usecnfordisplayname=false connect.usermanagement.usercommonnameattribute=<attribute> connect.usermanagement.groupcommonnameattribute=<attribute> ( http://www-01.ibm.com/support/docview.wss?uid=swg21385492 ) However configuring the display attribute as 'description' fails . 'description' is a multi-value attribute, while WCM is expecting a single-vallued attribute . Traces show similar to : [11/6/09 10:44:08:802 CET] 00000060 UserUtils < com.presence.connect.wmmcomms.UserManagementUtils getUserAttribute RETURN [GROUP NAME] [11/6/09 10:44:08:803 CET] 00000060 SystemErr R java.lang.ClassCastException: java.util.ArrayList incompatible with java.lang.String [11/6/09 10:44:08:804 CET] 00000060 SystemErr R at com.presence.connect.wmmcomms.UserUtils.getUserSingleValueAttrib ute(User Utils.java:799)
Local fix
Use single-value attribute instead
Problem summary
Problem Summary: ClassCastException encountered when changing user/group display attribute
Problem conclusion
Problem Description: In WCM, administrators can change the puma attribute that is used as the display attribute for users and groups within WCM. This is changed using the following properties: connect.usermanagement.usercommonnameattribute connect.usermanagement.groupcommonnameattribute If the administrator changes this value to something that is multivalue within the portal user architecture, a classcastexception can occur. For example: [11/6/09 10:44:08:803 CET] 00000060 SystemErr R java.lang.ClassCastException: java.util.ArrayList incompatible with java.lang.String [11/6/09 10:44:08:804 CET] 00000060 SystemErr R at com.presence.connect.wmmcomms.UserUtils.getUserSingleValueAttrib ute(User Utils.java:799) Problem Analysis: WCM expecting display name to be a single value attribute. In the case above, customer had used attribute Description that was multivalued. Problem Solution: WCM changed to handle the situation
Temporary fix
Comments
APAR Information
APAR number
PM02622
Reported component name
LOTUS WEB CONT
Reported component ID
5724I2900
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-12-03
Closed date
2009-12-09
Last modified date
2009-12-09
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
R61A PSY
UP
R61B 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","Line of Business":{"code":"LOB33","label":"N\/A"}}]
Document Information
Modified date:
21 December 2021