polls icon indicating copy to clipboard operation
polls copied to clipboard

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

Open f-Ridolin opened this issue 1 year ago • 3 comments

⚠️ This issue respects the following points: ⚠️

  • [X] This is a bug, not a question or a configuration/webserver/proxy issue.
  • [X] This issue is not already reported on Github (I've searched it).
  • [X] 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?

  • [X] 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

f-Ridolin avatar May 08 '24 08:05 f-Ridolin

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.

dartcafe avatar May 08 '24 09:05 dartcafe

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

f-Ridolin avatar May 08 '24 20:05 f-Ridolin

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. 👍

dartcafe avatar May 08 '24 20:05 dartcafe

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Jun 26 '24 04:06 github-actions[bot]