KircheNeuenburg / ldapcontacts

View other LDAP users as contacts in Nextcloud and see the personal data they shared
GNU Affero General Public License v3.0
18 stars 12 forks source link

Missing LDAP-Attributes lead to error messages #46

Open andreasgremm opened 4 years ago

andreasgremm commented 4 years ago

While using the Setting to modify the OWN Attributes the situation my appear that one or multiple attributes are not yet set in the LDAP DN to be changed. E.g. If street was not yet filled the following error is thrown: [PHP] Error: Undefined index: street at /var/www/html/nextcloud/apps/ldapcontacts/lib/LDAP/LdapEntity.php#152

POST /nextcloud/index.php/apps/ldapcontacts/own from removed

In case the attribute not yet exists it should be added.