ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 34,790
- Points
- 823
Reputation:
Several XenForo services open a database transaction and commit on success. If a save throws, the service propagates the exception and leaves its transaction open. If the caller already had a transaction, the service leaves its savepoint open. The caller’s next rollback() then rolls back the service’s savepoint while leaving the caller’s transaction active.
Reproduction:
Make the entity being saved read-only, invoke the service’s save routine, and catch the resulting exception. Without an...
Read more
Continue reading...
Reproduction:
Make the entity being saved read-only, invoke the service’s save routine, and catch the resulting exception. Without an...
Read more
Continue reading...