Bug #56205
closedCannot use contain query with multivalued static enumeration column
100%
Description
When a column is defined as a multivalued static enumeration:
'somecolumn' => array( 'exclude' => 0, 'label' => 'LLL:EXT:myextension/Resources/Private/Language/locallang_db.xlf:tx_myextension_domain_model_reference.somecolumn', 'config' => array( 'type' => 'select', 'items' => array( array('Option 1', 1), array('Option 2', 2), array('Option 3', 3), array('Option 4', 4), ), 'size' => 4, 'maxitems' => 4, 'eval' => '' ), ),
It is not possible to search using operator "contain":
$value = 2; $query->matching( $query->contains('somecolumn', $value) );
as it fails with exception 1327065745: Unsupported or non-existing property name X used in relation matching.
It works properly however using operator "equals" on a single-valued static enumeration.
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27787
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27787
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27787
Updated by Xavier Perseguers over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7625461f0245266799993b6d2ed9c95eabeb1b0e.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28471
Updated by Xavier Perseguers over 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset f8233c152c1f34d6a5c50ab3ea30778e58dcb363.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed