mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-297: XCache caching backend doesn't work: XCache doesn't support storing objects (+patch) #369
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Feb 1, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user antenna:
XCache opcode cacher doesn't support storing values of object and resource types in the cache. But Doctrine passes object data to the cache backend (for example, Class Metadata), which cause Apache to SEGFAULT on value retrieving attempt. Data should be serialized via serialize() function prior to storing, and deserialized via unserialize() after retrieving from cache.
Please find small patch with minor modifications to *doFetch() and *doSave() methods of XcacheCache class attached.
@doctrinebot commented on GitHub (Feb 9, 2010):
Comment created by @beberlei:
Fixed, can you verify?
@doctrinebot commented on GitHub (Feb 9, 2010):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 1 attachments from Jira into https://gist.github.com/7fcdfef6591af08a08d4