A new beta of Commons distro is out and there's a PDOException issue which happens when you click "Attend" an event then "Cancel":
#1867318: PDOException Canceling event registration with Entity Cache
I tracked it down to this module which doesn't seem to support the latest Entity cache configuration settings. I guessed this as there's a previous issue which provides support but no longer works:
#1663596-1: Registration: Wrong variable used in hook_entity_info()'s entitycache support
I've attached a patch which removes the error but I'm not sure if you're wanting to cache all the things I set, or if this is indeed the "correct" way to do things, but thought it'd be a start.
Comment | File | Size | Author |
---|---|---|---|
#4 | entity_cache_support-1867564-4.patch | 2.8 KB | Matt V. |
registration_entity_cache_support_update.patch | 2.19 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedForgot to set status appriately
Comment #2
jpontani CreditAttribution: jpontani commentedPatch from OP works great for me.
Comment #3
levelos CreditAttribution: levelos commentedThanks @stevepurkiss. The patch does not apply because the diff paths are wrong (there's an extra /registration in there). More importantly, we're missing a hook_update_N() implementation to add the schema tables. Ref. http://drupal.org/node/150220.
Comment #4
Matt V. CreditAttribution: Matt V. commentedHere's an updated patch, tested against the latest 7.x-3.x-dev release of Commons.
Comment #5
levelos CreditAttribution: levelos commented