Task #50091
closed
Category API: Add test for categories with multiple tables
Added by Stefan Neufeind over 11 years ago.
Updated about 7 years ago.
Description
If the category-API is used with multiple tables, records may only be loaded according to the correct table.
This was fixed with #45332. However the current functional tests don't catch this specific behaviour.
#45332 was added to 6.0, 6.1, 6.2 - so we might want to add this test to all those as well.
Quick way to test this:
typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php
in makeRelationBetweenCategoryAndDummyTable()
For one of the elements change the tableName to something different. Without the fix for #45332 the testcases still return the expected number of records. However when taking the tableName into account one item less should be returned (as was fixed by #45332).
- Status changed from New to Accepted
- Complexity set to easy
- Assignee set to Stefan Neufeind
- Target version set to 7.4 (Backend)
- Assignee deleted (
Stefan Neufeind)
Sorry, don't think I can work on this shortly :-(
- Sprint Focus set to On Location Sprint
- Status changed from Accepted 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 http://review.typo3.org/36477
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Sprint Focus deleted (
On Location Sprint)
- Status changed from Resolved to Closed
Also available in: Atom
PDF