pressing vote
multiple times when activating notifications breaks the current poll
#371
Labels
Milestone
vote
multiple times when activating notifications breaks the current poll
#371
Steps to reproduce
vote
multiple times before the page reloads(I couldn't reproduce it every time; press
vote
a lot)Expected behaviour
The vote should go through and the notifications should be enabled and no errors should be shown after the page finished reloading.
Actual behaviour
After the refresh, an error is shown.
The Nextcloud logs show, that the query to get the notification values returned multiple entries for the current user.
It's possible to fix the error by deleting the duplicate entries by hand.
Server configuration detail
Operating system: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64
Webserver: Apache/2.4.25 (Debian) (apache2handler)
Database: mysql 8.0.11
PHP version:
7.1.20
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, session, posix, Reflection, standard, SimpleXML, pdo_sqlite, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, exif, gd, intl, ldap, mcrypt, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, zip, Zend OPcache
Nextcloud version: 13.0.5 - 13.0.5.2
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: official Docker image
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: sftp
Are you using encryption:
Are you using an external user-backend, if yes which one:
Client configuration
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Operating system: Debian
Logs
Nextcloud log
The text was updated successfully, but these errors were encountered: