Skip to Content
0
Former Member
Feb 20, 2009 at 04:57 PM

User-defined entry type issue

36 Views

Example setup :

2 user defined entry types : PERSON and ROLE

PERSON allows : MSKEYVALUE, DISPLAYNAME, MX_ENTRYTYPE, MXREF_MX_ROLE and a user defined attribute REF_ROLE

ROLE allows : MSKEYVALUE, MX_ENTRYTYPE, DISPLAYNAME and a user defined attribute REF_ROLE

and the 2 predefined entry types MX_ROLE and MX_PERSON

Using from ASCII and to ID Store passes example data is loaded into the ID store

assigning the MSKEYVALUE of an MX_ROLE to MXREF_MX_ROLE of an MX_PERSON works

assigning the MSKEYVALUE of a ROLE to REF_ROLE of a PERSON works

assigning the MSKEYVALUE of a ROLE to REF_ROLE of a MX_PERSON (with the added allowed attribute REF_ROLE) works

assigning the MSKEYVALUE of an MX_ROLE to MXREF_MX_ROLE of a PERSON doesn't work. It returns :

"putNextEntry failed storingAdmin

Exception from Add operation:java.lang.IllegalArgumentException: No such attribute:Attribute: MXREF_MX_ROLE - entry: Admin : MXREF_MX_ROLE=<Role-Administrator>"

Basically I can't create a user-defined entry that uses a reference to the existing role entries. Anyone have an idea of what I am doing wrong?