Doctrine 1
  1. Doctrine 1
  2. DC-144

Doctrine_Manager::getConnectionForComponent() should use Doctrine_Core::modelsAutoload()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.4, 1.2.0-ALPHA1, 1.2.0-ALPHA2, 1.2.0-ALPHA3
    • Fix Version/s: 1.2.0-BETA1
    • Component/s: None
    • Labels:
      None

      Description

      Doctrine_Manager::getConnectionForComponent() tries to pre-load given component using Doctrine_Core::autoload().
      But it seems it should be modelsAutoload() instead, because just autoload() has nothing to do with model classes.

      See also corresponding topic in the doctrine-dev group.

      1. DC-144.patch
        0.5 kB
        Eugene Janusov

        Activity

        Hide
        Eugene Janusov added a comment -

        Trivial patch.

        Show
        Eugene Janusov added a comment - Trivial patch.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: