Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-724

Petition Not Populated By $ENV

    XMLWordPrintable

Details

    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'] ])) {

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            scott.koranda.3@at.internet2.edu Scott Koranda SCG (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: