Doctrine 1
  1. Doctrine 1
  2. DC-391

Connection rollback exception hides real exception

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.6
    • Fix Version/s: 1.2.3
    • Component/s: Connection
    • Labels:
      None

      Description

      Same issue as http://www.doctrine-project.org/jira/browse/DC-207 but also for the 1.1 branch.

      This is not only an issue when trying to talk to non-existing databases but for any exception thrown by the connection.

      UnitOfWork.php:133

              } catch (Exception $e) {
                  // Make sure we roll back our internal transaction
                  //$record->state($state);
                  $conn->rollback();
                  throw $e;
              }
      

        Activity

        Hide
        Jonathan H. Wage added a comment -

        This is already fixed in Doctrine 1.2

        Show
        Jonathan H. Wage added a comment - This is already fixed in Doctrine 1.2

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Alessandro Vermeulen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: