Skip to content
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

[stable23] DAV custom props: catch Exception and rollback transaction in case #33408

Merged
merged 2 commits into from
Aug 2, 2022

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Jul 29, 2022

adjusted backport of #33090

- before exceptions were not caught, a started transaction might not have
  been finished
- also resolve depractions and use IQueryBuilder

Signed-off-by: Arthur Schiwon <[email protected]>
$insertQuery = $insertQuery ?? $this->createInsertQuery();
$insertQuery
->setParameters($dbParameters)
->executeStatement();
Copy link
Member

Choose a reason for hiding this comment

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

was this 23 already?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes 😅 :)

Screenshot_20220729_221924

@blizzz blizzz mentioned this pull request Aug 1, 2022
@blizzz blizzz requested a review from icewind1991 August 1, 2022 13:23
@blizzz blizzz merged commit 1ee7760 into stable23 Aug 2, 2022
@blizzz blizzz deleted the backport/33090/stable23 branch August 2, 2022 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants