Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Conversation

@fsuter
Copy link

@fsuter fsuter commented Feb 25, 2014

Method \TYPO3\CMS\Vidi\Tca\ColumnService::hasRelationMany() relies
on "maxitems" or "foreign_table_field" properties to decide
whether a field has a "many" relation or not. This is not
sufficient. A one-to-many relation may use a MM table if it needs
to be bidirectional. In such a case "maxitems" will be 1, but
the relation still needs to be detected as a "many" relation.

Additionally two typos are fixed.

Francois Suter added 3 commits February 25, 2014 13:58
Method \TYPO3\CMS\Vidi\Tca\ColumnService::hasRelationMany() relies
on "maxitems" or "foreign_table_field" properties to decide
whether a field has a "many" relation or not. This is not
sufficient. A one-to-many relation may use a MM table if it needs
to be bidirectional. In such a case "maxitems" will be 1, but
the relation still needs to be detected as a "many" relation.
Conflicts:
	Classes/Tca/ColumnService.php
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant