Skip to content

Commit

Permalink
don't override server transaction mode setting on login
Browse files Browse the repository at this point in the history
Jadeite was overriding STN_GEM_INITIAL_TRANSACTION_MODE in one code path resulting in transaction mode being set to #autoBegin without a Jadeite preference being set.

Only in one path though, possibly exposed after first opening the application.
  • Loading branch information
Eric Winger authored and Eric Winger committed Nov 2, 2021
1 parent 191a6e4 commit cbc39aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sources/JadeiteTranscript.cls
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ initialize
initializeTransactionModeSettings
self transactionMode
ifNil:
[self basicTransactionMode: #autoBegin "should have already been set when window was created ... but just in case"].
!
[self setTransactionModeFromServer "should have already been set when window was created ... but just in case"]!

isBeginTransactionEnabled
^self parentPresenter isBeginTransactionEnabled!
Expand Down

0 comments on commit cbc39aa

Please sign in to comment.