When trying to add a role to a user, if the user already has that role, OutOfMemoryError occurs. Error is caused by org.apache.jetspeed.security.mapping.model.impl.AttributeImpl toString method. It causes an infinite loop is the attribute is multi-valued.
PS: j2-admin user management portlet does not let you to add the role to the user more than once, but programmatically one can add the role to the user.
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Assignee||Ate Douma [ adouma ]|
|Fix Version/s||2.2.1 [ 12313443 ]|