<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi,
<div><br>
</div>
<div>We are running IDP 3.1.2 in our test environment. When user’s eduPersonAffiliaiton is empty, attribute resolver generated error when trying to resolve eduPersonScopedAffiliation. The error caused none of the attribute/value is released to the SP. This
 behavior is different than IDP 2.4.x.</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
2015-08-17 10:52:11,480 - ERROR [net.shibboleth.idp.profile.impl.ResolveAttributes:256] - Profile Action ResolveAttributes: Error resolving attributes</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200); position: static; z-index: auto;">
net.shibboleth.idp.attribute.resolver.ResolutionException: net.shibboleth.idp.attribute.UnsupportedAttributeTypeException: Attribute Definition 'eduPersonScopedAffiliation':This attribute definition only supports attribute value types of net.shibboleth.idp.attribute.StringAttributeValue
 not values of type net.shibboleth.idp.attribute.EmptyAttributeValue</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
        at net.shibboleth.idp.attribute.resolver.ad.impl.ScopedAttributeDefinition.doAttributeDefinitionResolve(ScopedAttributeDefinition.java:91)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200); position: static; z-index: auto;">
Caused by: net.shibboleth.idp.attribute.UnsupportedAttributeTypeException: Attribute Definition 'eduPersonScopedAffiliation':This attribute definition only supports attribute value types of net.shibboleth.idp.attribute.StringAttributeValue not values of type
 net.shibboleth.idp.attribute.EmptyAttributeValue</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
        at net.shibboleth.idp.attribute.resolver.ad.impl.ScopedAttributeDefinition.doAttributeDefinitionResolve(ScopedAttributeDefinition.java:91)</div>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
<br>
</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
<resolver:AttributeDefinition id="eduPersonScopedAffiliation"</div>
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
        xsi:type="ad:Scoped" xmlns="urn:mace:shibboleth:2.0:resolver:ad"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
        scope="%{idp.scope}" sourceAttributeID="eduPersonAffiliation"></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200); min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
        <resolver:Dependency ref="myLDAP" /></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200); min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
        <resolver:AttributeEncoder xsi:type="SAML1String"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
            xmlns="urn:mace:shibboleth:2.0:attribute:encoder"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
            name="urn:mace:dir:attribute-def:eduPersonScopedAffiliation" encodeType="false" /></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200); min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
        <resolver:AttributeEncoder xsi:type="SAML2String"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
            xmlns="urn:mace:shibboleth:2.0:attribute:encoder"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
            name="urn:oid:1.3.6.1.4.1.5923.1.1.1.9"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
            friendlyName="eduPersonScopedAffiliation" encodeType="false" /></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200); min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
    </resolver:AttributeDefinition></div>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(44, 103, 200);">
<br>
</div>
<div><br>
</div>
<div>Thanks</div>
<div>Hong</div>
</body>
</html>