Fix array to string conversion on event search #23028
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
{ "reqId": "nieyd2kcbYk5PfY5JctS", "level": 3, "time": "2020-09-24T10:48:21+00:00", "remoteAddr": "85.195.247.3", "user": "…", "app": "PHP", "method": "GET", "url": "/ocs/v2.php/search/providers/calendar/search?term=gal&from=…", "message": "Array to string conversion at /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#81", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0", "version": "20.0.0.7" }Values come from:
server/apps/dav/lib/Search/EventsSearchProvider.php
Lines 61 to 64 in 2a054e6
Go in here:
server/apps/dav/lib/Search/EventsSearchProvider.php
Line 113 in 2a054e6
And end up as a "Str" parameter instead of array:
server/apps/dav/lib/CalDAV/CalDavBackend.php
Lines 1780 to 1786 in 7d06027