[TYPO3-core] RFC #16779: Bug: t3lib_cache_backend_RedisBackendTest causes t3lib_db_PreparedStatementTest tests to fail

Steffen Gebert steffen at steffen-gebert.de
Sat Dec 18 21:21:39 CET 2010


> When t3lib_cache_backend_RedisBackendTest is executed before
> t3lib_db_PreparedStatementTest, I get 4 test failures in
> t3lib_db_PreparedStatementTest. This is because
> t3lib_cache_backend_RedisBackendTest sets backupGlobals to true without
> adding the DB globals as an exception, wrecking the DB link.

Thanks, Oli.

Committed to trunk rev. 9852 after my +1 by reading and testing.

PhpStorm reports an error in the following blocks (2x used, parameter 
$condition missing):
> try {
> 	$this->setUpBackend(array('password' => 'foo'));
> } catch (Exception $e) {
> 	$this->assertTrue();
> }
But this is nothing new, I think passing TRUE as parameter would fix it, 
right?

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member

Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list