Polls: Text polls with same content are not possible

Created on 5 Jun 2018  ยท  12Comments  ยท  Source: nextcloud/polls

Steps to reproduce

  1. create a text poll with entries foo bar and bar foo. Save it
  2. create a text poll with entries foo bar and bar bar. Save it
  3. Visit the two polls

Expected behaviour

I expect the poll with entries foo bar and bar bar to have the two entries

Actual behaviour

Only bar bar shows.

Server configuration

Operating system:
Ubuntu 16.04
Web server:
Apache 2
Database:
Mysql
PHP version:
7
Nextcloud version: (see Nextcloud admin page)
13.0.2
Where did you install Nextcloud from:
I don't remember
Signing status:

No errors have been found.

Potential source of the issue:

Polls entries are identified by their content instead of id ?

I wonder if the same happens with date polls, and if voting for a given date/time in a poll validates the same date in other ones...

bug

All 12 comments

I cannot reproduce this.
I did the following:
bildschirmfoto vom 2018-06-10 um 11 44 42
and
bildschirmfoto vom 2018-06-10 um 11 47 19

and get:
bildschirmfoto vom 2018-06-10 um 11 46 42
and
bildschirmfoto vom 2018-06-10 um 11 46 56

I'll redo this on my side too and provide some feedback.

Ok then, I created two text-based polls:

Poll 1: foo, bar (I selected the two options, but took the screenshot before)
screenshot_20180613_232218

Poll 2: foofoo, foo and bar
screenshot_20180613_232310

Looking at poll 2: foo and bar are not an option
screenshot_20180613_232344

โ“ I cannot reproduce it on my instance. I did exactly the same, but I have all options. Maybe you could repeat the creation here: https://nc13.yagst.de/

Just login with github account.

@dartcafe, I created two polls on the instance:

Hmmm. I see this:
bildschirmfoto vom 2018-06-24 um 23 18 22

bildschirmfoto vom 2018-06-24 um 23 18 33

And the content of the db is correct also....
bildschirmfoto vom 2018-06-24 um 23 19 57

Which is totally the point, I created the second poll with "foo", "bar" and "foo bar", but only "foo bar" was kept.

Please test in current beta, or wait until release...

cannot reproduce this with the current BETA version 2 for 9.0

@dartcafe I don't have a machine to test the beta version right now, sadly

@mtancoigne No problem. But I am sure, this will not occur any more...

@dartcafe Great then, maybe we should wait for 0.9.0 to be out before closing this...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brtptrs picture brtptrs  ยท  4Comments

nextgen-networks picture nextgen-networks  ยท  6Comments

rubo77 picture rubo77  ยท  4Comments

dartcafe picture dartcafe  ยท  4Comments

wompydomp picture wompydomp  ยท  6Comments