Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #33129

PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).

Previously we just converted this resource using settype, which produced
things like "Resource id #14" instead of the actual resource data.

Now we read the stream correctly if the returned data is a resource

See context at #22472

Fixes #22439

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@backportbot-nextcloud backportbot-nextcloud bot added bug php Pull requests that update Php code labels Jul 25, 2022
@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 22.2.11 milestone Jul 25, 2022
@PVince81
Copy link
Member

22 is EOL -> closing

@PVince81 PVince81 closed this Jul 25, 2022
@nickvergessen nickvergessen deleted the backport/33129/stable22 branch July 26, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants