-
Notifications
You must be signed in to change notification settings - Fork 73
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
NotFoundException Error loading poll with id 0 after upgrading to 6.1.1 #3330
Comments
I have no idea why a poll with the number 0 should be referenced. So I need more information. Please add some more information from your log file. Use the logfile viewer in the admin section and copy the stack trace you find there in the details view. Additionally watch the network tab and share log entries showing errors from the polls app. |
Raw registry entry: {
"reqId": "ZdW9PQsTqtJZAoSY9svUCQAAABU",
"level": 3,
"time": "2024-02-21T09:07:09+00:00",
"remoteAddr": "XXX.XXX.XXX.XXX",
"user": "xxx",
"app": "index",
"method": "GET",
"url": "/index.php/apps/polls/poll/0/watch?offset=1708506408",
"message": "Error loading poll with id 0",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
"version": "28.0.2.5",
"exception": {
"Exception": "OCA\\Polls\\Exceptions\\NotFoundException",
"Message": "Error loading poll with id 0",
"Code": 0,
"Trace": [
{
"file": "/apps/polls/lib/Model/Acl.php",
"line": 152,
"function": "loadPoll",
"class": "OCA\\Polls\\Model\\Acl",
"type": "->"
},
{
"file": "/apps/polls/lib/Service/WatchService.php",
"line": 58,
"function": "setPollId",
"class": "OCA\\Polls\\Model\\Acl",
"type": "->"
},
{
"file": "/apps/polls/lib/Controller/WatchController.php",
"line": 52,
"function": "watchUpdates",
"class": "OCA\\Polls\\Service\\WatchService",
"type": "->"
},
{
"file": "/apps/polls/lib/Controller/BaseController.php",
"line": 67,
"function": "OCA\\Polls\\Controller\\{closure}",
"class": "OCA\\Polls\\Controller\\WatchController",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/apps/polls/lib/Controller/WatchController.php",
"line": 52,
"function": "responseLong",
"class": "OCA\\Polls\\Controller\\BaseController",
"type": "->"
},
{
"file": "/lib/private/AppFramework/Http/Dispatcher.php",
"line": 230,
"function": "watchPoll",
"class": "OCA\\Polls\\Controller\\WatchController",
"type": "->"
},
{
"file": "/lib/private/AppFramework/Http/Dispatcher.php",
"line": 137,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/lib/private/AppFramework/App.php",
"line": 184,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/lib/base.php",
"line": 1069,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/index.php",
"line": 39,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/apps/polls/lib/Model/Acl.php",
"Line": 191,
"message": "Error loading poll with id 0",
"exception": [],
"CustomMessage": "Error loading poll with id 0"
},
"id": "65d61ada10ec8"
} |
Now I can reproduce this bug. But it doesn't have any affect on the usage of Polls and does not explain, why you say, you see nothing. Can you post a screenshot? |
I think I misunderstod your initial post and the fix will close this issue. |
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. |
What went wrong, what did you observe?
After upgrading to 6.1.1 version, I receive the following NextCloud log error: NotFoundException Error loading poll with id 0
What did you expect, how polls should behave instead?
Not showing anything
What steps does it need to replay this bug?
Installation method
Installed/updated from the appstore (Apps section of your site)
Installation type
Updated from a minor version within same major version (i.e. 4.0.0 to 4.1.1)
Affected polls version
6.1.1
Which browser did you use, when experiencing the bug?
Other browser
No response
Add your browser log here
No response
Additional client environment information
No response
NC version
Other/Don't know
Other Nextcloud version
28.0.2
PHP engine version
PHP 8.1
Other PHP version
No response
Database engine
MariaDB
Database Engine version or other Database
10.5.23
Which user-backends are you using?
Add your nextcloud server log here
Additional environment informations
No response
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: