Updated: Comment #N

Problem/Motivation

Spawned from related issue, cache factories do not implement a common interface, which could make switching things out more fragile

Proposed resolution

Add a CacheFactoryInterface and have our factories implement this.

Remaining tasks

User interface changes

None

API changes

Factories should implement this interface.

Comments

Status: Needs review » Needs work

The last submitted patch, d8.cacheFactoryInterface.patch, failed testing.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new1.98 KB
new999 bytes

Should be implemented for DatabaseBackend and MemoryBackend.

The last submitted patch, 2: 2143011-2.patch, failed testing.

damiankloip’s picture

2: 2143011-2.patch queued for re-testing.

The last submitted patch, 2: 2143011-2.patch, failed testing.

damiankloip’s picture

2: 2143011-2.patch queued for re-testing.

sun’s picture

damiankloip’s picture

StatusFileSize
new2.5 KB
new531 bytes

Ok, speaking to berdir about this, and seeing the referenced key value issue about. Let's use the interface for the CacheFactory class too.

sun’s picture

Status: Needs review » Reviewed & tested by the community
xjm’s picture

8: 2143011-8.patch queued for re-testing.

damiankloip’s picture

8: 2143011-8.patch queued for re-testing.

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.