This content has been marked as final.
Show 1 reply
-
1. Re: PLIDM000602: Could not add AttributedType [org.picketlink.idm.model.basic.User@8a1569e0].
nico.ben Sep 18, 2013 11:36 AM (in response to nico.ben)Hi,
I drilled more on that problem.
Debugging I found that the origin of my exception is in ContextualIdentityManager.java
@Override public void add(IdentityType identityType) throws IdentityManagementException { checkUniqueness(identityType); try { storeSelector.getStoreForIdentityOperation(this, IdentityStore.class, identityType.getClass(), IdentityOperation.create) .add(this, identityType); addAttributes(identityType); } catch (Exception e) { throw MESSAGES.attributedTypeAddFailed(identityType, e); } }
at line 5.
An exception is thrown:
JBAS011469: Transaction is required to perform this operation (either use a transaction or extended persistence context)
but the message is then mapped as the one in the subject.
Bye
Nic