Details
-
Bug
-
Resolution: Fixed
-
Major
-
COmanage Registry 0.8.3 (Omnipotent Octagon 33 1/3)
Description
I played around a bit and added logging code to the method
mapEnvAttributes() in CoEnrollmentAttribute.php.
I see on line 653 that $eaMap is
(
[name.1s:honorific] => 1
[name.1s:given] => 2
[name.1s:middle] => 3
[name.1s:family] => 4
[name.1s:suffix] => 5
[email_address.3s:mail] => 19
[o] => 26
)
but $e is, for givenName for example,
(
[id] => 2
[cmp_enrollment_configuration_id] => 1
[attribute] => names:given
[type] => O
[required] => 1
[ldap_name] => givenName
[saml_name] => givenName
[created] => 2013-07-16 12:45:37
[modified] => 2013-10-30 00:45:54
[env_name] => CMP_EF_GIVENNAME
)
Since $e['attribute'] is names:given and not name.1s:given I
don't think anything is getting through the line
if(!empty($e['env_name']) && isset($eaMap[ $e['attribute'] ])) {