{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/23023","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/23023/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/23023/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/23023/events","html_url":"https://github.com/owncloud/core/issues/23023","id":139583939,"number":23023,"title":"Call to undefined method OCA\\\\user_ldap\\\\lib\\\\user\\\\User::setEMailAddress() at owncloud\\/apps\\/user_ldap\\/lib\\/user\\/user.php#431","user":{"login":"iMarkus","id":12813354,"avatar_url":"https://avatars.githubusercontent.com/u/12813354?v=3","gravatar_id":"","url":"https://api.github.com/users/iMarkus","html_url":"https://github.com/iMarkus","followers_url":"https://api.github.com/users/iMarkus/followers","following_url":"https://api.github.com/users/iMarkus/following{/other_user}","gists_url":"https://api.github.com/users/iMarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/iMarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iMarkus/subscriptions","organizations_url":"https://api.github.com/users/iMarkus/orgs","repos_url":"https://api.github.com/users/iMarkus/repos","events_url":"https://api.github.com/users/iMarkus/events{/privacy}","received_events_url":"https://api.github.com/users/iMarkus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:user_ldap","name":"app:user_ldap","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-09T13:57:10Z","updated_at":"2016-03-09T22:42:11Z","closed_at":"2016-03-09T22:42:11Z","body":"### Steps to reproduce\r\n1. Enable LDAP\r\n2. Configure LDAP Server\r\n3. Open Users\r\n\r\n### Expected behaviour\r\nUsers should be loaded\r\n\r\n### Actual behaviour\r\nDue to the following error, no users are shown just the loading animation:\r\nCall to undefined method OCA\\\\user_ldap\\\\lib\\\\user\\\\User::setEMailAddress() at owncloud\\/apps\\/user_ldap\\/lib\\/user\\/user.php#431\r\n\r\nWhen the line $user->setEMailAddress($email); is removed everything works fine.\r\n\r\n### Server configuration\r\n**Operating system**:\r\nCentOS 6.7\r\n\r\n**Web server:**\r\nApache 2.2.15\r\n\r\n**Database:**\r\nMySQL 5.1.73\r\n\r\n**PHP version:**\r\n5.6.15\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\nownCloud 9.0.0 (stable)\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh install\r\n\r\n**Where did you install ownCloud from:**\r\nZIP file\r\n\r\n**Signing status (ownCloud 9.0 and above):**\r\n-\r\n\r\nLogin as admin user into your ownCloud and access \r\nhttp://example.com/index.php/settings/integrity/failed \r\npaste the results here.\r\n\r\nNo errors have been found.\r\n\r\n**List of activated apps:**\r\nEnabled:\r\n  - activity: 2.2.1\r\n  - comments: 0.2\r\n  - dav: 0.1.5\r\n  - federatedfilesharing: 0.1.0\r\n  - federation: 0.0.4\r\n  - files: 1.4.4\r\n  - files_pdfviewer: 0.8\r\n  - files_sharing: 0.9.1\r\n  - files_texteditor: 2.1\r\n  - files_trashbin: 0.8.0\r\n  - files_versions: 1.2.0\r\n  - files_videoplayer: 0.9.8\r\n  - firstrunwizard: 1.1\r\n  - gallery: 14.5.0\r\n  - notifications: 0.2.3\r\n  - provisioning_api: 0.4.1\r\n  - systemtags: 0.2\r\n  - templateeditor: 0.1\r\n  - updatenotification: 0.1.0\r\n  - user_ldap: 0.8.0\r\nDisabled:\r\n  - encryption\r\n  - external\r\n  - files_external\r\n  - user_external\r\n\r\n**The content of config/config.php:**\r\n{\r\n    \"system\": {\r\n        \"instanceid\": \"oc2bngk8fwrx\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n                       ***REMOVED SENSITIVE VALUE***\r\n        ],\r\n        \"datadirectory\": \"\\/opt\\/owncloud\\/data\",\r\n        \"overwrite.cli.url\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"9.0.0.19\",\r\n        \"dbname\": \"owncloud\",\r\n        \"dbhost\": \"localhost\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"logtimezone\": \"UTC\",\r\n        \"installed\": true,\r\n        \"ldapIgnoreNamingRules\": false,\r\n        \"mail_smtpmode\": \"smtp\",\r\n        \"mail_from_address\": \"owncloud\",\r\n        \"mail_domain\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtphost\": \"***REMOVED SENSITIVE VALUE***\"\r\n    }\r\n}\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nno\r\n\r\n**Are you using encryption:** yes/no\r\nno\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nyes\r\n\r\n#### LDAP configuration (delete this part if not used)\r\n'user_ldap', 'cleanUpJobOffset', '0'\r\n'user_ldap', 'enabled', 'yes'\r\n'user_ldap', 'enforce_home_folder_naming_rule', ''\r\n'user_ldap', 'has_memberof_filter_support', '1'\r\n'user_ldap', 'home_folder_naming_rule', ''\r\n'user_ldap', 'installed_version', '0.8.0'\r\n'user_ldap', 'last_jpegPhoto_lookup', '0'\r\n'user_ldap', 'ldap_agent_password', '***REMOVED SENSITIVE VALUE***='\r\n'user_ldap', 'ldap_attributes_for_group_search', ''\r\n'user_ldap', 'ldap_attributes_for_user_search', ''\r\n'user_ldap', 'ldap_backup_host', ''\r\n'user_ldap', 'ldap_backup_port', ''\r\n'user_ldap', 'ldap_base', 'DC=***REMOVED SENSITIVE VALUE***,DC=com'\r\n'user_ldap', 'ldap_base_groups', 'DC=***REMOVED SENSITIVE VALUE***,DC=com'\r\n'user_ldap', 'ldap_base_users', 'DC=***REMOVED SENSITIVE VALUE***,DC=com'\r\n'user_ldap', 'ldap_cache_ttl', '600'\r\n'user_ldap', 'ldap_configuration_active', '1'\r\n'user_ldap', 'ldap_display_name', 'displayname'\r\n'user_ldap', 'ldap_dn', '***REMOVED SENSITIVE VALUE***'\r\n'user_ldap', 'ldap_dynamic_group_member_url', ''\r\n'user_ldap', 'ldap_email_attr', 'mail'\r\n'user_ldap', 'ldap_experienced_admin', '1'\r\n'user_ldap', 'ldap_expert_username_attr', 'sAMAccountName'\r\n'user_ldap', 'ldap_expert_uuid_group_attr', ''\r\n'user_ldap', 'ldap_expert_uuid_user_attr', ''\r\n'user_ldap', 'ldap_group_display_name', 'cn'\r\n'user_ldap', 'ldap_group_filter', ''\r\n'user_ldap', 'ldap_group_filter_mode', '0'\r\n'user_ldap', 'ldap_group_member_assoc_attribute', 'uniqueMember'\r\n'user_ldap', 'ldap_groupfilter_groups', ''\r\n'user_ldap', 'ldap_groupfilter_objectclass', 'group'\r\n'user_ldap', 'ldap_host', 'ldap.***REMOVED SENSITIVE VALUE***'\r\n'user_ldap', 'ldap_login_filter', '(&(&(objectclass=user)(memberof=***REMOVED SENSITIVE VALUE***,DC=***REMOVED SENSITIVE VALUE***,DC=com))(samaccountname=%uid))'\r\n'user_ldap', 'ldap_login_filter_mode', '0'\r\n'user_ldap', 'ldap_loginfilter_attributes', ''\r\n'user_ldap', 'ldap_loginfilter_email', '0'\r\n'user_ldap', 'ldap_loginfilter_username', '1'\r\n'user_ldap', 'ldap_nested_groups', '0'\r\n'user_ldap', 'ldap_override_main_server', ''\r\n'user_ldap', 'ldap_paging_size', '500'\r\n'user_ldap', 'ldap_port', '3268'\r\n'user_ldap', 'ldap_quota_attr', ''\r\n'user_ldap', 'ldap_quota_def', ''\r\n'user_ldap', 'ldap_tls', '0'\r\n'user_ldap', 'ldap_turn_off_cert_check', '0'\r\n'user_ldap', 'ldap_user_display_name_2', ''\r\n'user_ldap', 'ldap_user_filter_mode', '1'\r\n'user_ldap', 'ldap_userfilter_groups', '***REMOVED SENSITIVE VALUE***'\r\n'user_ldap', 'ldap_userfilter_objectclass', 'user'\r\n'user_ldap', 'ldap_userlist_filter', '(&(objectclass=user)(memberof=***REMOVED SENSITIVE VALUE***,DC=***REMOVED SENSITIVE VALUE***,DC=com))'\r\n'user_ldap', 's01has_memberof_filter_support', '1'\r\n'user_ldap', 's01home_folder_naming_rule', ''\r\n'user_ldap', 's01last_jpegPhoto_lookup', '0'\r\n'user_ldap', 's01ldap_agent_password', '***REMOVED SENSITIVE VALUE***='\r\n'user_ldap', 's01ldap_attributes_for_group_search', ''\r\n'user_ldap', 's01ldap_attributes_for_user_search', ''\r\n'user_ldap', 's01ldap_backup_host', ''\r\n'user_ldap', 's01ldap_backup_port', ''\r\n'user_ldap', 's01ldap_base', 'DC=***REMOVED SENSITIVE VALUE***,DC=com'\r\n'user_ldap', 's01ldap_base_groups', 'DC=***REMOVED SENSITIVE VALUE***,DC=com'\r\n'user_ldap', 's01ldap_base_users', 'DC=***REMOVED SENSITIVE VALUE***,DC=com'\r\n'user_ldap', 's01ldap_cache_ttl', '600'\r\n'user_ldap', 's01ldap_configuration_active', '1'\r\n'user_ldap', 's01ldap_display_name', 'displayName'\r\n'user_ldap', 's01ldap_dn', '***REMOVED SENSITIVE VALUE***'\r\n'user_ldap', 's01ldap_dynamic_group_member_url', ''\r\n'user_ldap', 's01ldap_email_attr', 'mail'\r\n'user_ldap', 's01ldap_experienced_admin', '1'\r\n'user_ldap', 's01ldap_expert_username_attr', 'sAMAccountName'\r\n'user_ldap', 's01ldap_expert_uuid_group_attr', ''\r\n'user_ldap', 's01ldap_expert_uuid_user_attr', ''\r\n'user_ldap', 's01ldap_group_display_name', 'cn'\r\n'user_ldap', 's01ldap_group_filter', ''\r\n'user_ldap', 's01ldap_group_filter_mode', '0'\r\n'user_ldap', 's01ldap_group_member_assoc_attribute', 'uniqueMember'\r\n'user_ldap', 's01ldap_groupfilter_groups', ''\r\n'user_ldap', 's01ldap_groupfilter_objectclass', ''\r\n'user_ldap', 's01ldap_host', 'ldap.***REMOVED SENSITIVE VALUE***'\r\n'user_ldap', 's01ldap_login_filter', '(&(&(objectclass=user)(memberof=***REMOVED SENSITIVE VALUE***,DC=***REMOVED SENSITIVE VALUE***,DC=com))(samaccountname=%uid))'\r\n'user_ldap', 's01ldap_login_filter_mode', '1'\r\n'user_ldap', 's01ldap_loginfilter_attributes', ''\r\n'user_ldap', 's01ldap_loginfilter_email', '0'\r\n'user_ldap', 's01ldap_loginfilter_username', '1'\r\n'user_ldap', 's01ldap_nested_groups', '0'\r\n'user_ldap', 's01ldap_override_main_server', ''\r\n'user_ldap', 's01ldap_paging_size', '500'\r\n'user_ldap', 's01ldap_port', '3268'\r\n'user_ldap', 's01ldap_quota_attr', ''\r\n'user_ldap', 's01ldap_quota_def', ''\r\n'user_ldap', 's01ldap_tls', '0'\r\n'user_ldap', 's01ldap_turn_off_cert_check', '0'\r\n'user_ldap', 's01ldap_user_display_name_2', ''\r\n'user_ldap', 's01ldap_user_filter_mode', '1'\r\n'user_ldap', 's01ldap_userfilter_groups', ''\r\n'user_ldap', 's01ldap_userfilter_objectclass', 'person'\r\n'user_ldap', 's01ldap_userlist_filter', '(&(objectclass=user)(memberof=***REMOVED SENSITIVE VALUE***,DC=***REMOVED SENSITIVE VALUE***,DC=com))'\r\n'user_ldap', 's01use_memberof_to_detect_membership', '1'\r\n'user_ldap', 'types', 'authentication'\r\n'user_ldap', 'use_memberof_to_detect_membership', '1'\r\n\r\n\r\n### Client configuration\r\n**Browser:**\r\nFirefox 44.0.2\r\n\r\n**Operating system:**\r\nWindows 7 Pro x64"}}