CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #36232

Crash in Database Testcase in TYPO3 < 4.6

Added by Hannes Bochmann about 1 year ago. Updated about 1 year ago.

Status:Resolved Start date:2012-04-17
Priority:Must have Due date:
Assignee:Oliver Klee % Done:

100%

Category:-
Target version:3.6.11
PHP Version:
Votes: 0

Description

When Database Testcases are run in an TYPO3 environment below version 4.6, an fatal error occurs:

PHP Fatal error: Call to undefined method t3lib_cache::getDatabaseTableDefinitions() in .../typo3conf/ext/phpunit/Classes/Database/TestCase.php on line 270

This functions seems to be added in TYPO3 4.6 and is therefore not available before.

36232.diff - Patch (1.4 kB) Oliver Klee, 2012-04-20 19:48


Related issues

related to PHPUnit - Task #35700: Require TYPO3 >= 4.5 Resolved 2012-04-04
related to PHPUnit - Bug #33534: Missing cachingframework tables might break database tests Resolved 2012-01-30

Associated revisions

Revision 60938
Added by Oliver Klee about 1 year ago

Fixed Bug #36232: Crash in Database Testcase in TYPO3 < 4.6

Revision 60938
Added by Oliver Klee about 1 year ago

Fixed Bug #36232: Crash in Database Testcase in TYPO3 < 4.6

History

Updated by Oliver Klee about 1 year ago

Hi Hannes, thanks for the bug report. With which versions of TYPO3 and the phpunit extension does this problem occur?

Updated by Hannes Bochmann about 1 year ago

It occurs with TYPO3 4.5.14 and phpunit 3.6.10. With TYPO3 4.6.4 everything is fine.

Updated by Oliver Klee about 1 year ago

  • Assignee set to Nicole Cordes
  • Target version changed from 3.6.x to 3.6.11

Nicole, would you like to tackle this one?

Updated by Oliver Klee about 1 year ago

  • Status changed from New to Rejected
  • Assignee deleted (Nicole Cordes)

This was just a problem with DB permissions. Marking as rejected.

Updated by Oliver Klee about 1 year ago

  • Status changed from Rejected to Accepted
  • Assignee set to Oliver Klee

Sorry, closed the wrong issue. Reopening.

Updated by Oliver Klee about 1 year ago

  • Subject changed from Error in Database Testcase in TYPO3 < 4.6 to Crash in Database Testcase in TYPO3 < 4.6

Updated by Oliver Klee about 1 year ago

  • File 36232.diff added
  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF