[BUGFIX] Queries don't respect MM_match_fields 13/29713/11
authorStefan Froemken <froemken@gmail.com>
Mon, 28 Apr 2014 17:18:44 +0000 (19:18 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 3 May 2014 13:05:38 +0000 (15:05 +0200)
commit09f9bdaada7a0145e1399542f02c43986556f1e7
tree81dd36af3995a06bb888d42594add0862910cc58
parent22695e3b2c5940c0be31541b16ff589390429826
[BUGFIX] Queries don't respect MM_match_fields

In case of sys_category and all other
MM-relations with MM_match_fields, parseConstraint
has no implementation for this property.

This patch adds MM_match_fields for
matching and deletion.

Resolves: #10487
Releases: 6.2
Change-Id: Id4f53fd4ed42dd6e785011b5efbc61f6ce62e022
Reviewed-on: https://review.typo3.org/29713
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Post.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/PostRepository.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/ext_tables.php
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/categories.xml [new file with mode: 0644]
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/category-mm.xml [new file with mode: 0644]
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/post-tag-mm.xml
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/posts.xml
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/tags.xml
typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php