Column names for association properties are generated wrong
As discovered by Bastian, column names for associations are created in model tables not with the property name but the name that is to be used for join tables.
/** * @var \TYPO3\FLOW3\Resource\Resource */ protected $foo;
would create a column named
flow3_resource_resource instead of the expected
Updated by Bastian Waidelich about 10 years ago
Hint for developers that come across this and need to upgrade their packages:
It is not possible for Doctrine to detect that change automatically, it will drop the previous table and create a new one instead (AFAIK).
You can solve this by fixing the migration that is generated by
./flow3 doctrine:migrationgenerate manually. See http://git.typo3.org/FLOW3/Packages/FLOW3.git?a=commit;h=395997deae0c4230636276d0c2c0bf7a22d6fcc1 for an example