Doctrine 1
  1. Doctrine 1
  2. DC-839

Version classes not built for models using package attribute

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: Behaviors
    • Labels:
      None
    • Environment:
      PHP 5.2.3 / Symfony 1.4.6

      Description

      For models using the 'package' attribute in the schema definition, the version classes do not get created. However, the version table gets created.

      There is no problem during the build, but when loading fixtures, there is a fatal error: Class TaxCodeVersion not found

      TaxCode:
      package: Masters
      tableName: Fin_Tax_Codes
      actAs:
      Activateable: ~
      SoftDelete: ~

      1. Versionable:
      2. tableName: fin_tax_codes_version
        1. versionColumn: version
      3. className: %CLASS%Version
        1. auditLog: true
          Auditable: ~
          Timestampable: ~
          .......

        Activity

        Prasad Gupte created issue -

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Prasad Gupte
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: