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.

Comments

Status:Active» Needs review

Forgot to set status appriately

Status:Needs review» Reviewed & tested by the community

Patch from OP works great for me.

Status:Reviewed & tested by the community» Needs work

Thanks @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.

Status:Needs work» Needs review
StatusFileSize
new2.8 KB

Here's an updated patch, tested against the latest 7.x-3.x-dev release of Commons.

Status:Needs review» Fixed

Status:Fixed» Closed (fixed)

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