Propel2
Propel2 copied to clipboard
Cannot redeclare class with isCrossRef="true" and multiple foreign keys
In this example with isCrossRef="true" and multiple foreign keys the script fails with
Fatal error: Cannot redeclare Base\User::$collCinemas in /home/sandbox/generated-classes/Base/User.php on line 126
If isCrossRef="true" or the second foreign key created_by is removed the script runs without error.
Maybe this is related to #473?
Probably, but I'm not sure. Looks pretty much like a bug.
fixed?