Doctrine 1
  1. Doctrine 1
  2. DC-372

I18n record generator assumes relation alias is the table name

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: I18n
    • Labels:
      None
    • Environment:
      latest symfony 1.4 SVN.

      Description

      In Doctrine/I18n.php, method setTableDefinition, line 108:

              foreach($relations as $table => $relation) {
      

      But the $relations array key is not a table name, but a relation alias.

      So currently the generator assumes the relation alias IS the table name.
      When it's not true, the I18n table definition fails.

        Activity

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            thibault duplessis
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: