Skip to content
New issue

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

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

Already on GitHub? # to your account

Issue with "Show Results During Poll" to "no” #90

Closed
gnutello opened this issue Mar 18, 2024 · 4 comments
Closed

Issue with "Show Results During Poll" to "no” #90

gnutello opened this issue Mar 18, 2024 · 4 comments
Labels
bug Something isn't working Joomla 3 Issue occurs while using plugin in Joomla 3 Joomla 4 Issue occurs while using plugin in Joomla 4 Joomla 5 Issue occurs while using plugin in Joomla 5

Comments

@gnutello
Copy link

Hi Jefferson
I’m managing a poll on a Joomla 3.10.12 site with 5.0.4.0 sexy polling.
I having an issue when I set "Show Results During Poll" to "no”, the Results remain visible.
I need that the results must be hidden.
I saw that in 5.0.4.0 release you worked to solve an issue just on that option. May this have caused the new issue that I’m experiencing?
Many thanks for your attention.

@Jefferson49
Copy link
Owner

Thank you very much for reporting the issue.

Yes, I introduced an error with the bugfix of #85.

Please note that I identifyed an other bug #91 while fixing this issue, which also allows to view the poll results.

@Jefferson49
Copy link
Owner

As a workaround you can have a look at the bugfix in 62d6b06 and patch the file components/com_sexypolling/site/helpers/helper.php

You only need to substitue "===" by "=="

I will probably release a new version in the next week.

@gnutello
Copy link
Author

gnutello commented Mar 19, 2024

Thank you very much, I patched and it works fine now!
I also encountered a second issue: when I set the calendar for a certain day I found the start delayed by an hour compared to the scheduled time (00:00). My local time is Rome +1 and even by changing the joomla global configuration to London the issue persists.
Please take a look at this video: https://youtu.be/tS6lYRTtblA

@gnutello gnutello changed the title Issue whit "Show Results During Poll" to "no” Issue with "Show Results During Poll" to "no” Mar 19, 2024
@Jefferson49
Copy link
Owner

I also encountered a second issue: when I set the calendar for a certain day I found the start delayed by an hour compared to the scheduled time (00:00). My local time is Rome +1 and even by changing the joomla global configuration to London the issue persists.

Yes, I can reproduce this. I created a separate issue #93.
Potential root cause: JavaScript for warning message does not use timezone for date calcluation; instead uses UTC.

@Jefferson49 Jefferson49 added the bug Something isn't working label Mar 19, 2024
@Jefferson49 Jefferson49 added Joomla 4 Issue occurs while using plugin in Joomla 4 Joomla 3 Issue occurs while using plugin in Joomla 3 Joomla 5 Issue occurs while using plugin in Joomla 5 labels Mar 22, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working Joomla 3 Issue occurs while using plugin in Joomla 3 Joomla 4 Issue occurs while using plugin in Joomla 4 Joomla 5 Issue occurs while using plugin in Joomla 5
Projects
None yet
Development

No branches or pull requests

2 participants