Issue Bug Closed

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

Kasper Ligaard 07/27/13, 20:45 updated 03/08/16, 23:18

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.