0
Fixed

Multivalue.GenerateDNs Doesn't return group column

Ross Currie 8 years ago • updated by anonymous 3 years ago 4

Put the following into my dev environment and the portalAccessMembersDN column did not generate. No errors present. Not urgently required for this project, but would help in efficency down the track.

<adapter name="Multivalue.GenerateDNs"
InputKey="portalAccessMembers"
GroupTarget="portalAccessMembersDN"
groupValueType="Integer">
<dn>
<dnComponent name="Field" attributeType="UID" key="MultivaluePart"/>
<dnComponent name="Constant" attributeType="DC" value="Parent"/>
</dn>
</adapter>

Affected Versions:
Fixed by Version:

I have added more unit tests to this transformation that test the generation of the transformation. (There were already tests for the tranformation).

Everything seems fine from the unit tests.

Does the portalAccessMembers definitely have values and is of type integer.multi?

Thanks.

Just ran it in the student / subject class environment with same result - Member field does not generate and is not present in the adapter:

<adapter name="Multivalue.GenerateDNs"
InputKey="members"
GroupTarget="Member"
groupValueType="String"
>
<dn>
<dnComponent name="Field" attributeType="UID" key="MultivaluePart"/>
<dnComponent name="Constant" attributeType="DC" value="Student"/>
</dn>
</adapter>

Confirmed that 'members' is string.multi

does case of groupValueType matter? Does it need to be set to string.multi or is string fine?

I have create new unit tests for the scenario, and have corrected an issue.

Please see v3.0.6.7.

The attribute is indeed groupValueType and is case sensitive.

The value is the underlying type of the multivalue. So multi should not be provided.

Thanks.

appears to have resolved issue, thank you