Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 of 12 tasks
f-Ridolin opened this issue May 8, 2024 · 3 comments · Fixed by #3523
Closed
4 of 12 tasks
Labels
Milestone

Comments

@f-Ridolin
Copy link

⚠️ 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

@f-Ridolin f-Ridolin added the bug label May 8, 2024
@dartcafe
Copy link
Collaborator

dartcafe commented May 8, 2024

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.

@f-Ridolin
Copy link
Author

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

@dartcafe
Copy link
Collaborator

dartcafe commented May 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants