Repository navigation
docs(web/guides): abort inside a Wheels transaction rolls back on BoxLang - #4336
Merged
Merged
Conversation
…Lang Add the 4.1 to 4.2 entry for #4335: on BoxLang a request that ends with abort inside invokeWithTransaction() now rolls back, as on Lucee and Adobe ColdFusion, where 4.1 kept the writes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
Review @ 2a616bf: APPROVE (docs only)
No findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Upgrade-guide line for #4335. Before it, on BoxLang a request that ended with
abortinside a Wheels transaction kept the writes made before theabort; Lucee and Adobe ColdFusion rolled them back. In 4.2 BoxLang rolls back too. That changes data for a BoxLang app on a released version that, knowingly or not, relied on those writes surviving, so it gets a "Behaviour changes to check" entry.The new 4.1 → 4.2 section, "
abortinside a Wheels transaction rolls it back on BoxLang too":invokeWithTransaction(), a nested call that joins it, and a savepoint unit;transaction {}blocks are unchanged.withAdvisoryLock(transaction = true)is left out because it's new in 4.2.Verified against develop c9722ed: in
transactions.cfm,$invokeTransactionMethod()runs the method in atry/finallywith no catch clause. When the method neither returned nor threw, thefinallyrunstransaction action="rollback".#4335's
fixedfragment type is right, and its punctuation follows the no-trailing-period convention.🤖 Generated with Claude Code