-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
Description
⚠️ 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?
Hello,
I face this Object for placeholder pollTitle is invalid in logs and I read #3926 issue. But this is not described how to repair old entries.
What did you expect, how polls should behave instead?
Could you please give us a tip (SQL request or whatever) to correct old entries that still use wrong object type?
What steps does it need to replay this bug?
- upgrade app
- some old entries generates logs
Affected polls version
8.6.2
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. 8.0.0 to 8.1.2)
Can you rule out that any extension you use is involved in the issue?
- I have checked all browser extension
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
Additional client environment information
No response
NC version
Nextcloud 31
Other Nextcloud version
No response
PHP engine version
PHP 8.3
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
{
"reqId": "kMVFcVowkf1PTT0SDxHy",
"level": 3,
"time": "2026-01-07T15:15:37+01:00",
"remoteAddr": "80.13.247.75",
"user": "Ana",
"app": "polls",
"method": "GET",
"url": "/ocs/v2.php/apps/activity/api/v2/activity/polls?format=json&since=0&limit=50&object_type=poll&object_id=74",
"message": "Activity event had invalid subject parameters provided [app: polls, subject: vote_set]",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36",
"version": "31.0.8.1",
"exception": {
"Exception": "OCP\\RichObjectStrings\\InvalidObjectExeption",
"Message": "Object for placeholder pollTitle is invalid, value 57 for key id is not a string",
"Code": 0,
"Trace": [
{
"file": "/srv/cloud.domain.tld/lib/private/RichObjectStrings/Validator.php",
"line": 59,
"function": "validateParameter",
"class": "OC\\RichObjectStrings\\Validator",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/apps/activity/lib/GroupHelper.php",
"line": 83,
"function": "validate",
"class": "OC\\RichObjectStrings\\Validator",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/apps/activity/lib/GroupHelper.php",
"line": 47,
"function": "addEvent",
"class": "OCA\\Activity\\GroupHelper",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/apps/activity/lib/Data.php",
"line": 232,
"function": "addActivity",
"class": "OCA\\Activity\\GroupHelper",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/apps/activity/lib/Controller/APIv2Controller.php",
"line": 190,
"function": "get",
"class": "OCA\\Activity\\Data",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/apps/activity/lib/Controller/APIv2Controller.php",
"line": 137,
"function": "get",
"class": "OCA\\Activity\\Controller\\APIv2Controller",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/lib/private/AppFramework/Http/Dispatcher.php",
"line": 200,
"function": "getFilter",
"class": "OCA\\Activity\\Controller\\APIv2Controller",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/lib/private/AppFramework/Http/Dispatcher.php",
"line": 114,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/lib/private/AppFramework/App.php",
"line": 161,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/srv/cloud.domain.tld/ocs/v1.php",
"line": 49,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/srv/cloud.domain.tld/ocs/v2.php",
"line": 7,
"args": [
"/srv/cloud.domain.tld/ocs/v1.php"
],
"function": "require_once"
}
],
"File": "/srv/cloud.domain.tld/lib/private/RichObjectStrings/Validator.php",
"Line": 85,
"message": "Activity event had invalid subject parameters provided [app: polls, subject: vote_set]",
"exception": [],
"CustomMessage": "Activity event had invalid subject parameters provided [app: polls, subject: vote_set]"
},
"id": "695e784536ca9"
}Additional environment informations
No response
Configuration report
List of activated Apps
Nextcloud Signing status
Additional Information
Thank you
Reactions are currently unavailable