Skip to content

[issue_tracker] Rollback partial success#10857

Open
jeffersoncasimir wants to merge 1 commit into
aces:29.0-releasefrom
jeffersoncasimir:2026_07_09_fix_issue_tracker_409_handling
Open

[issue_tracker] Rollback partial success#10857
jeffersoncasimir wants to merge 1 commit into
aces:29.0-releasefrom
jeffersoncasimir:2026_07_09_fix_issue_tracker_409_handling

Conversation

@jeffersoncasimir

Copy link
Copy Markdown
Contributor

Closes #10789.

This PR simply wraps the part which mutates the DB with a try/catch and uses $db->beginTransaction() to ensure that either everything succeeds or everything fails.

This fixes the issue where a 409 is returned on issue creation due to improper configuration, while still creating the issue; as well as other potential edge cases.

@jeffersoncasimir jeffersoncasimir added Language: PHP PR or issue that update PHP code Module: issue_tracker PR or issue related to issue tracker module 29.0.0 - Bugs Issues found during the release testing for 29.0.0 labels Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

29.0.0 - Bugs Issues found during the release testing for 29.0.0 Language: PHP PR or issue that update PHP code Module: issue_tracker PR or issue related to issue tracker module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant