You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a user, which has no Email-Address in his profile. If I search for this user or even if a search contains this user (other users could have an email), nothing is returned in the search result.
Steps to reproduce the behavior
Go to 'a Poll'
Click on 'share'
Search for a user without an email address (username: oemail)
How should it work?
What you expected to happen?
The user is returned in a submenue and can be selected for sharing.
Information about your polls installation
Polls version: 3.1.0 (NC 21.0.4)
Fresh installation or update from a prior version (from which one)?
First time install
Update from a prior version
Version number of the previous version: Polls 1.9.5 (NC 20.0.10)
How did you install this version?(Appstore or describe installation)
Installed from the appstore
Installed via occ
Installed via extracting downloaded package to the apps folder
Information about your Instance of Nextcloud
Nextcloud version: 21.0.4
List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud Configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Server configuration (decide, if you think it is helpful)
Database:
MySql version:
MariaDB version: 10.0.6
PostgreSQL version:
Oracle version:
SQLite:
Other (add name and version):
PHP version:
7.3 or lower
7.4
8.0
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Device:
PC
Mac
Mobile phone
Tablet
Browser:
Firefox version:
Chrome version:
Safari version:
Other (add name and version):
Logs
[index] Error: TypeError: Return value of OCA\Polls\Model\UserGroupClass::getEmailAddress() must be of the type string, null returned at <>
/var/www/html/custom_apps/polls/lib/Model/UserGroupClass.php line 273
OCA\Polls\Model\UserGroupClass->getEmailAddress()
What is going wrong? What did you observe?
Describe the bug
I have a user, which has no Email-Address in his profile. If I search for this user or even if a search contains this user (other users could have an email), nothing is returned in the search result.
Steps to reproduce the behavior
How should it work?
What you expected to happen?
The user is returned in a submenue and can be selected for sharing.
Information about your polls installation
Polls version: 3.1.0 (NC 21.0.4)
Fresh installation or update from a prior version (from which one)?
Version number of the previous version: Polls 1.9.5 (NC 20.0.10)
How did you install this version?(Appstore or describe installation)
Information about your Instance of Nextcloud
Nextcloud version: 21.0.4
List of activated apps
Nextcloud Configuration
Server configuration (decide, if you think it is helpful)
Database:
PHP version:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Device:
Browser:
Logs
[index] Error: TypeError: Return value of OCA\Polls\Model\UserGroupClass::getEmailAddress() must be of the type string, null returned at <>
OCA\Polls\Model\UserGroupClass->getEmailAddress()
OCA\Polls\Model\UserGroupClass->jsonSerialize()
json_encode({siteusers: [OCA ... ]}, 1)
OCP\AppFramework\Http\JSONResponse->render()
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Polls\Controller\SystemController {}, "userSearch")
OC\AppFramework\App::main("OCA\Polls\Con ... r", "userSearch", OC\AppFramework\ ... {}, {query: "mail",_ ... "})
OC\Route\Router->match("/apps/polls/search/users/mail")
OC::handleRequest()
GET /apps/polls/search/users/mail
The text was updated successfully, but these errors were encountered: