Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-261

MasterSlaveConnection fails to load ConnectionEventArgs

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.2.2
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      Incorrect class referenced at line 164 of Doctrine\DBAL\Connection\MasterSlaveConnection.php:

      $eventArgs = new Event\ConnectionEventArgs($this);

      Current namespace is Doctrine\DBAL\Connection so class loader fails when looking for Doctrine\DBAL\Connection\Event\ConnectionEventArgs

      Work around is to add Doctrine\DBAL\Event\ConnectionEventArgs to use directive and change line to:

      $eventArgs = new ConnectionEventArgs($this);

        Activity

        Raymond Burgess created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2.3 [ 10210 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13656 ] jira-feedback2 [ 17818 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17818 ] jira-feedback3 [ 20173 ]
        Guilherme Blanco made changes -
        Fix Version/s 2.2.3 [ 10210 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Raymond Burgess
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: