doctrine / orm

Doctrine Object Relational Mapper (ORM)
https://www.doctrine-project.org/projects/orm.html
MIT License
9.93k stars 2.51k forks source link

DDC-297: XCache caching backend doesn't work: XCache doesn't support storing objects (+patch) #3734

Closed doctrinebot closed 8 years ago

doctrinebot commented 14 years ago

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 14 years ago

Comment created by @beberlei:

Fixed, can you verify?

doctrinebot commented 14 years ago

Issue was closed with resolution "Fixed"

doctrinebot commented 8 years ago

Imported 1 attachments from Jira into https://gist.github.com/7fcdfef6591af08a08d4