Closed (fixed)
Project:
invite_og_plugin
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2012 at 20:40 UTC
Updated:
14 Jun 2012 at 12:36 UTC
Jump to comment: Most recent file
Enabling this module with invite 7.x-2.1-beta2 generates the following error on all pages containing an invite block:
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityMetadataWrapper->set() (line 122 of /sites/all/modules/entity/includes/entity.wrapper.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | entity_type_in_user_access-1469348-7.patch | 2.51 KB | ezeedub |
Comments
Comment #1
grasmash commentedI am using OG 7.x-2.x, that may be causing the problem.
Comment #2
killerpoke commentedi'l check this
Comment #3
grasmash commentedLet me know if you're interested in releasing this as a module. I've made some modifications to make it compatible with 7.x-2.x, but I've also removed the permission checking (since it does not have bearing on my implementation).
Comment #4
killerpoke commentedhey madmatter23. The problem occures, when the group_field is not set. so I check this before calling og_get_all_group(). I will post a new issue to the og queue since og_get_all_group() isn't save to call.
I want to release this module please post your changes.
You may check out my previous commit, where I implemented settings for permission-checking.
Comment #5
killerpoke commentedComment #6
killerpoke commentedComment #7
ezeedub commentedThe function signature of og_user_access() has changed in OG 7.x-2.x. The entity type must be included.
Comment #8
killerpoke commentedThank you for your Patch! It saved me some time.
I'v created a new Branch for OG 7.x-2.x please check it out to use it with the new OG version!