I’ve made a new public poll. Then I’ve opened the public link in another browser in order to check if the poll works properly. But unfortunately, when the dialogue appears where and I enter “No, I have no login data” and than enter a username and an email address and klick OK a message appears: “error when saving the user name”. But in the admin panel of my NC I now can see the username who wants to join the poll. But I can not send an invitation to him. Nothing happens when I click on the respective button. What did I wrong, and how can I solve that issue?
NC 20.0.4, Polls 1.6.3
There is a similair report here:
opened 05:35AM - 13 May 20 UTC
closed 04:41PM - 19 May 20 UTC
### What is going wrong?
**Describe the bug**
Error saving user name ("Fehler … beim Speichern des Benutzernamens")
Error occurs after accessing an existing poll from outside via public link and being asked to provide a user name. The user name is correctly checked if it's already existing and right after the check the above mentioned error message appears on the NC GUI. As a consequence, access to the existing poll via public link isn't possible.
**To Reproduce**
Steps to reproduce the behavior:
1. Use public link to access poll
2. Enter user name and click <ok>
3. See error
**Expected behavior**
Accept user name without error. Give access to the existing poll.
**Screenshots**
![grafik](https://user-images.githubusercontent.com/65270786/81774508-ff9da100-94ea-11ea-817e-ea9d5ed1ce86.png)
### Information about your polls installation
1.4.3
**Fresh installation or update from a prior version (from which one)?**
Fresh installation
**How did you install this version?(Appstore or describe installation)**
NC Appstore
### Information about your Instance of Nextcloud/ownCloud
Nextcloud
**Nextcloud/ownCloud version: 18.0.4.2** (see Nextcloud admin page)
**List of activated apps:**
```
Enabled:
- accessibility: 1.4.0
- activity: 2.11.0
- bruteforcesettings: 1.6.0
- calendar: 2.0.3
- cloudfederationapi: 1.1.0
- comments: 1.8.0
- contacts: 3.3.0
- dav: 1.14.0
- deck: 1.0.0
- documentserver_community: 0.1.5
- federatedfilesharing: 1.8.0
- federation: 1.8.0
- files: 1.13.1
- files_pdfviewer: 1.7.0
- files_rightclick: 0.15.2
- files_sharing: 1.10.1
- files_trashbin: 1.8.0
- files_versions: 1.11.0
- files_videoplayer: 1.7.0
- firstrunwizard: 2.7.0
- logreader: 2.3.0
- lookupserverconnector: 1.6.0
- mail: 1.3.4
- maps: 0.1.6
- nextcloud_announcements: 1.7.0
- notifications: 2.6.0
- oauth2: 1.6.0
- onlyoffice: 4.1.4
- password_policy: 1.8.0
- photos: 1.0.0
- polls: 1.4.3
- privacy: 1.2.0
- provisioning_api: 1.8.0
- radio: 0.6.6
- recommendations: 0.6.0
- serverinfo: 1.8.0
- settings: 1.0.0
- sharebymail: 1.8.0
- spreed: 8.0.8
- support: 1.1.0
- survey_client: 1.6.0
- systemtags: 1.8.0
- tasks: 0.12.2
- text: 2.0.0
- theming: 1.9.0
- twofactor_backupcodes: 1.7.0
- updatenotification: 1.8.0
- viewer: 1.2.0
- workflowengine: 2.0.0
Disabled:
- admin_audit
- encryption
- files_external
- user_ldap
```
**Nextcloud configuration:**
```
"system": {
"instanceid": "*REMOVED SENSITIVE VALUE*",
"passwordsalt": "*REMOVED SENSITIVE VALUE*",
"secret": "*REMOVED SENSITIVE VALUE*",
"trusted_domains": {
"0": "localhost",
"1": "127.0.0.1",
"2": "192.168.178.25",
"3": "xxxxxxxxxxxxxxxxxxxxxxx",
"4": "10.0.2.15",
"5": "xxxxxxxxxxxxx",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "var\/run\/redis\/redis.sock",
"port": 0,
"timeout": 0,
"password": "",
"dbindex": 0
},
"onlyoffice": {
"verifypeeroff": true
}
},
"datadirectory": "*REMOVED SENSITIVE VALUE*",
"dbtype": "mysql",
"version": "18.0.4.2",
"overwrite.cli.url": "http:\/\/localhost\/nextcloud",
"dbname": "*REMOVED SENSITIVE VALUE*",
"dbhost": "*REMOVED SENSITIVE VALUE*",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "*REMOVED SENSITIVE VALUE*",
"dbpassword": "*REMOVED SENSITIVE VALUE*",
"installed": true,
"maintenance": false,
"theme": "",
"loglevel": 2
}
}
```
### Server configuration
<!--
You can use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate
-->
**Operating system**:
Debian 10.3.22
**Web server:**
Apache 2.4.38
**Database:**
mysql 15.1 (MariaDB)
**PHP version:**
7.3.14-1
**Signing status:**
```
"No errors have been found."
```
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
### Client configuration
**Device:**
Desktop
**Browser:**
Chromium 81.0.4044.138
**Operating system:**
Ubuntu 18.04.4 LTS (ARM)
### Logs
#### Browser log
```
polls.js?v=5affc9f9-27:2 POST https://xxxxxxxxxxxxxxxxxxxx/nextcloud/index.php/apps/polls/share/create/s/ 412
(anonymous) @ polls.js?v=5affc9f9-27:2
e.exports @ polls.js?v=5affc9f9-27:2
e.exports @ polls.js?v=5affc9f9-27:2
Promise.then (async)
l.request @ polls.js?v=5affc9f9-27:2
r.forEach.l.<computed> @ polls.js?v=5affc9f9-27:2
(anonymous) @ polls.js?v=5affc9f9-27:2
createPersonalShare @ polls.js?v=5affc9f9-27:2
(anonymous) @ polls.js?v=5affc9f9-27:2
u.dispatch @ polls.js?v=5affc9f9-27:2
dispatch @ polls.js?v=5affc9f9-27:2
writeUserName @ polls.1.3b1a5275186805417147.js:1
We @ polls.js?v=5affc9f9-27:2
n @ polls.js?v=5affc9f9-27:2
We @ polls.js?v=5affc9f9-27:2
e.$emit @ polls.js?v=5affc9f9-27:2
click @ polls.js?v=5affc9f9-27:2
We @ polls.js?v=5affc9f9-27:2
n @ polls.js?v=5affc9f9-27:2
Kr.i._wrapper @ polls.js?v=5affc9f9-27:2
polls.js?v=5affc9f9-27:2 Error writing share {error: {…}} {payload: {…}}
(anonymous) @ polls.js?v=5affc9f9-27:2
Promise.then (async)
createPersonalShare @ polls.js?v=5affc9f9-27:2
(anonymous) @ polls.js?v=5affc9f9-27:2
u.dispatch @ polls.js?v=5affc9f9-27:2
dispatch @ polls.js?v=5affc9f9-27:2
writeUserName @ polls.1.3b1a5275186805417147.js:1
We @ polls.js?v=5affc9f9-27:2
n @ polls.js?v=5affc9f9-27:2
We @ polls.js?v=5affc9f9-27:2
e.$emit @ polls.js?v=5affc9f9-27:2
click @ polls.js?v=5affc9f9-27:2
We @ polls.js?v=5affc9f9-27:2
n @ polls.js?v=5affc9f9-27:2
Kr.i._wrapper @ polls.js?v=5affc9f9-27:2
```
Unfortunately I am not able to reproduce this. The information, that the user is actually created, is new and important, thanks for that.
In the share panel, there is a link to copy the share URL for this user to the clipboard. This can be sent to the user.
I’ve found that the failure does not appear if - as optionally possible - an email adress not has been entered.
1 Like
nekton
February 20, 2021, 1:54pm
4
Also experiencing the same issue, thanks for the workaround @vatolin
Thanks for the workaround, I also experience that issue. Is there already/still a github issue open for that topic?