Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: Behaviors
    • Labels:
      None
    • Environment:
      Doctrine 1.2 with Symfony 1.4

      Description

      When using i18n with inheritance, the localizables fields are overrinden by the second deriving class.
      So, the translation table is containing only fields from one of the two descending classes.

      The yml is below:

      User:
      columns:
      email: string(255)
      ...

      Employer:
      inheritance:
      extends: User
      type: column_aggregation
      actAs:
      I18n:
      fields: [description, company]
      columns:
      company: string(255)
      description: text

      Recruiter:
      actAs:
      I18n:
      fields: [position]
      inheritance:
      extends: User
      type: column_aggregation
      columns:
      position: string(255)

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: