Skip to content

Conversation

@miaulalala
Copy link
Contributor

@miaulalala miaulalala commented Dec 11, 2023

  • Resolves:

Summary

Reusing query builder objects causes a Doctrine\DBAL\Query\QueryException

TODO

  • ...

Checklist

@miaulalala miaulalala added bug 3. to review Waiting for reviews labels Dec 11, 2023
@miaulalala miaulalala self-assigned this Dec 11, 2023
@miaulalala
Copy link
Contributor Author

/backport to stable28

@miaulalala
Copy link
Contributor Author

/backport to stable27

@miaulalala
Copy link
Contributor Author

/backport to stable26

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

What I find suspicious is that this is described as a regression, like the feature broke recently. But the QB recyling has happened since the feature was added in 30d13bb.

@ChristophWurst
Copy link
Member

7f0a54c only logs a warning but doesn't abort.
While the qb recyling is really ugly here, I think it worked because discarding the previous WHEREs for every recycle is fine 🤔

@tcitworld
Copy link
Member

Yeah, I think it's unlikely this will fix #42143, but they can try to apply the simple patch.

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me but won't help with #42143

@miaulalala miaulalala merged commit 9e10b1d into master Dec 11, 2023
@miaulalala miaulalala deleted the fix/dont-reuse-query-builder-caldav branch December 11, 2023 12:29
@X-Raph-X
Copy link

Hi, I've patched my NC28.0.0 because I have the issue #42143 . I confirm the issue is NOT solved by this commit.

@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants