Doctrine 1
  1. Doctrine 1
  2. DC-981

Class prefix isn't being appended when importing data

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: Cli
    • Labels:
      None

      Description

      Configuration:

      Doctrine_Manager::getInstance()->setAttribute(Doctrine_Core::ATTR_MODEL_CLASS_PREFIX, 'Foo_');

      Schema:

      Bar:
      columns:
      baz: int

      Fixtures:

      Bar:
      Bar_1:
      baz: 1

      Error on importing data: "Couldn't find class Bar."

      Doctrine should use Foo_Bar class for Bar model instead Bar class.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Maciej Strzelecki
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: