Project

General

Profile

Actions

Bug #50493

closed

"Invalid Memcache->connection member variable" in unit tests

Added by Kasper Ligaard over 11 years ago. Updated over 8 years ago.

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

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Since [FEATURE] Add PHPUnit error handler as default (https://review.typo3.org/22456) was merged I have seen a lot of Core tests fail as errors with the text:

Memcache::get() [<a href='memcache.get'>memcache.get</a>]: Invalid Memcache-&gt;connection member variable

I do not think it is the PHPUnit feature which broke something. Rather it seems the feature surfaced some problem with the MemcachedBackend.

The error is located in the file TYPO3.CMS/typo3/sysext/core/Classes/Cache/Backend/MemcachedBackend.php in the two methods get() (line 239) and findIdentifiersByTag() (line 284).

I am not familiar with the Cache Framework and Memcached, so have no clue what might be wrong.

Actions

Also available in: Atom PDF