Project

General

Profile

Actions

Task #50091

closed

Category API: Add test for categories with multiple tables

Added by Stefan Neufeind over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
Start date:
2013-07-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45332: category api won't work when used with multiple tablesClosedThomas Allmer2013-02-09

Actions
Actions #1

Updated by Stefan Neufeind over 10 years ago

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).

Actions #2

Updated by Philipp Gampe over 10 years ago

  • Status changed from New to Accepted
  • Complexity set to easy

Can you work on this?

Actions #3

Updated by Mathias Schreiber about 9 years ago

  • Assignee set to Stefan Neufeind
  • Target version set to 7.4 (Backend)

Any progress here?

Actions #4

Updated by Stefan Neufeind about 9 years ago

  • Assignee deleted (Stefan Neufeind)

Sorry, don't think I can work on this shortly :-(

Actions #5

Updated by Anja Leichsenring about 9 years ago

  • Sprint Focus set to On Location Sprint
Actions #6

Updated by Zbigniew Jacko about 9 years ago

I'm working on it

Actions #7

Updated by Gerrit Code Review about 9 years ago

  • 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

Actions #8

Updated by Zbigniew Jacko about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Mathias Schreiber over 8 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #10

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF