-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Bug]: Array to string conversion in CalDAV backend #37025
Comments
|
I just saw the same thing (in 25). I don't see how shares can contain an array itself. 🤔 |
This bug prevents certain events from syncing (from Apple devices, mostly fantastical) and had been fixed in early 26 beta but apparently has now been re-introduced. Unfortunate. Any idea on when this is going to be fixed again? |
Still seeing this running 27.1.3: {
"reqId": "[removed]",
"level": 3,
"time": "2023-11-05T17:35:11+00:00",
"remoteAddr": "[removed]",
"user": "[removed]",
"app": "PHP",
"method": "MOVE",
"url": "/remote.php/dav/calendars/[removed]/[removed]/[GUID].ics",
"message": "Array to string conversion at /var/www/path_to_web_root/apps/dav/lib/CalDAV/Activity/Backend.php#561",
"userAgent": "iOS/17.0.3 (21A360) dataaccessd/1.0",
"version": "27.1.3.2",
"data": {
"app": "PHP"
},
"id": "[removed]"
} |
What if values are flatten before using the arrays, could this fix it?
|
Same error on 28.0.2
|
Same solution as used in #43794 should work here (using array_map serialize/unserialize). I don't have a test setup for this, so I'll leave trying it to someone that feels like giving it a shot + can also reproduce this situation on-demand. |
Bug description
Array to string conversion at https://github.com/nextcloud/server/blob/v26.0.0rc1/apps/dav/lib/CalDAV/Activity/Backend.php#L561
server/apps/dav/lib/CalDAV/Activity/Backend.php
Line 561 in 6466c8e
Steps to reproduce
Expected behavior
No errors
Installation method
None
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: