Closed (won't fix)
Project:
Drupal core
Version:
8.9.x-dev
Component:
database system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Aug 2011 at 01:46 UTC
Updated:
4 Jul 2021 at 07:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
catchs/NoActive/NotActive makes sense to me. It currently reads like there's no active exception.
Comment #2
rfaydrupal.DatabaseExceptionNotActive.patch queued for re-testing.
Comment #3
artusamakComment #5
rfayReroll after core patch
Comment #6
artusamakSounds ok.
Comment #7
chx commentedNo it doesn't. The exception is not about a transaction being in a "not active" state because there is no such beast much rather it says "there is no transaction currently at all". If there is a need for rename then do it but the NotActive sounds incorrect to me.
Comment #8
rfay@chx, would you go with DatabaseNoActiveTransactionException? I do believe that this is thrown when there is *not* an active transaction, which would mean the original proposed rename would work OK, but DatabaseNoActiveTransactionException would work for me too.
Comment #17
quietone commentedIn #7 it was explained that this is not the same as 'NotActiveException', which suggests this is a won't fix. Then in #8 there was a suggestion to make it DatabaseNoActiveTransactionException. However all the exceptions related to transactions begin with Transaction. as in TransactionNameNonUniqueException. It doesn't make sense to change that pattern. Also, in Jan 2012 this exception was renamed in commit 5a5c830761e2b13640a09c3ba80ed6c4dd0b5fa4 to TransactionNoActiveException.
There isn't anything to fix here, closing as won't fix.