nextcloud / polls

🗳️ Polls app for Nextcloud

Home Page:https://apps.nextcloud.com/apps/polls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Booked options are displayed even though the "Hide not available options" option is selected.

f-Ridolin opened this issue · comments

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • I agree to follow Nextcloud's Code of Conduct.

What went wrong, what did you observe?

Booked options are displayed even though the "Hide not available options" option is selected.
The user sees all options, but cannot click on the booked ones.

What did you expect, how polls should behave instead?

Booked options should be hidden if the "Hide not available options" option is selected.

What steps does it need to replay this bug?

  1. Create a date poll with multiple options.
  2. Vote as a user.
  3. Vote as another user.
image image image image

Installation method

Installed/updated via extracting downloaded package to the apps folder

Installation type

Updated from a minor version within same major version (i.e. 4.0.0 to 4.1.1)

Affected polls version

7.0.3

Which browser did you use, when experiencing the bug?

  • Firefox
  • Chrome
  • Chromium/Chromium based (i.e. Edge)
  • Safari
  • Other/Don't know

Other browser

No response

Add your browser log here

No response

Additional client environment information

No response

NC version

Nextcloud 28

Other Nextcloud version

No response

PHP engine version

PHP 8.2

Other PHP version

No response

Database engine

MariaDB

Database Engine version or other Database

No response

Which user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other/Don't know

Add your nextcloud server log here

No response

Additional environment informations

No response

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Additional Information

No response

Can't confirm that

Owner's View Participant's View 2nd Participant's View
grafik grafik grafik

As an admin you still see them. The option only applies to participants.

It is clear that this option only applies to participants.
But shouldn't it also be possible to hide unavailable options if the results are not shown for participants?

poll-options-view

As you can see in my screenshots, the booked out results are hidden for other participants than the poll owner.
But any explicit information, that the bug oviously only appears when results are hidden, would have been helpful.
Now I can reproduce it. 👍