Bug #68504

Extbase should support multiple setting in TCA

Added by Natalia Postnikova over 6 years ago. Updated about 5 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2015-07-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In TCA is is possible to configure a field that the same objekt can be referenced more than once. This settings is called "multiple" and is documented here:
http://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#multiple

Extbase does not support this feature (yet).

TCA configuration:

'products' => array(
    'exclude' => 1,
    'label' => 'LLL:EXT:myext/Resources/Private/Language/locallang_db.xlf:tx_myext_domain_model_product.products',
    'config' => array(
        'type' => 'select',
        'foreign_table' => 'tx_myext_domain_model_product',
        'MM' => 'tx_myext_order_product_mm',
        'size' => 10,
        'autoSizeMax' => 30,
        'maxitems' => 9999,
        'multiple' => 1
    )
)

In BE it is possible to put the same item in the list for example three times.

In FE there will be only one item in the list.


Related issues

Related to TYPO3 Core - Bug #83433: selectMultipleSideBySide allow items mutiple timesNew2017-12-27

Actions
#1

Updated by Susanne Moog over 6 years ago

  • Category set to Extbase
#2

Updated by Christoph Bessei about 5 years ago

Is there a workaround for this problem? Maybe create an additional model for the M:N table?

#3

Updated by Stephan Bauer almost 4 years ago

  • Related to Bug #83433: selectMultipleSideBySide allow items mutiple times added

Also available in: Atom PDF