Memcache.inc relies on $wildcard being an explicit TRUE

memcache.inc ~ 179
if (empty($cid) || $wildcard === TRUE) {

The rule sends along an integer 1, this is fine for db cache, but memcache needs the explicit TRUE.

I've attached a patch to resolve the issue at the action level, may make sense to resolve upstream but I needed quick fix.

Comments

chriso’s picture

Status: Active » Closed (duplicate)

I believe this is the same issue as #1515164: Wildcard cid clear needs to pass bool, not int, to cache_clear_all(), which was fixed slightly differently and patched into the dev branch.