Bug #30223

Column names for association properties are generated wrong

Added by Karsten Dambekalns almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Must have
Category:
Persistence
Start date:
2011-09-23
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

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.

Examle:

/**
 * @var \TYPO3\FLOW3\Resource\Resource
 */
 protected $foo;

would create a column named flow3_resource_resource instead of the expected foo.


Related issues

Has duplicate TYPO3.Flow - Bug #29982: Wrong table structure for multiple ManyToOne relationsResolvedKarsten Dambekalns2011-09-18

Actions

Also available in: Atom PDF