Closed (fixed)
Project:
Drupal Commons
Version:
7.x-3.0-beta1
Component:
Events
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
15 Dec 2012 at 08:56 UTC
Updated:
13 Feb 2013 at 19:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
user654 commented.
Comment #2
Anonymous (not verified) commentedSame here. Tracked it down to registration module not supporting entity cache properly.
I've posted a patch, if you apply that to the registration module then it works ok. Here it is:
#1867564: Update Entity cache support
Comment #3
geigerg commentedSame here. Install time patch from #2 applied.
PDOException: SQLSTATE[42S02]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Ungültiger Objektname 'registration_type'.: SELECT base.[id] AS [id], base.[name] AS [name], base.[label] AS [label], base.[weight] AS [weight], base.[locked] AS [locked], base.[data] AS [data], base.[status] AS [status], base.[module] AS [module] FROM {registration_type} base; Array ( ) in EntityAPIController->query() (line 152 of C:\inetpub\wwwroot\profiles\commons\modules\contrib\entity\includes\entity.controller.inc).
Comment #4
ezra-g commentedComment #5
ezra-g commentedBumping priority to "major" so we can address this before 3.0.
Comment #6
jpontani commentedComment #7
jpontani commentedAttached is a patch that fixes the Registration module to properly support entitycache. The issue is the entity info was not properly adding the entity cache config to the return array.Also attached is a patch for commons makefile to include the patch until it gets applied to the Registration module.See latest comment, didn't see the patch in the linked issue from #2.
Comment #8
jpontani commented#7 may be pointless. See #1867564: Update Entity cache support. Will create a commons patch to include that patch instead of mine.
Comment #9
jpontani commentedUpdated commons makefile patch that has the patch from linked issue in #8.
Comment #10
ezra-g commentedThanks!
I updated the code comment to point to the Registration module issue that contains the patch and committed.
http://drupalcode.org/project/commons.git/commit/518fe58
Comment #11
ezra-g commentedThis breaks the Commons build because the referenced patch doesn't apply. Per #3 on that issue, the patch also needs to be re-rolled to include a hook_update_n() implementation. I've reverted the commit in #10: http://drupalcode.org/project/commons.git/commit/fb8ae00.
Comment #12
matt v. commentedI've added an updated patch in the #1867564: Update Entity cache support issue.
Comment #13
ezra-g commentedThe latest patch to Entity Registration module is now included. Thanks, Matt V!
http://drupalcode.org/project/commons.git/commit/6a61fbd