When adding a views pane to a page and selecting "Any" for the Space, this can generate a "EntityMetadataWrapperException: Invalid data value given" error for users who don't have access to that space.

The problem seems to be the permission check for the Trash Flag in oa_core_form_views_exposed_form_alter(). It gets a value of "All" from the exposed filter on the form, which is then passed to og_user_access. When this gets to the Entity API, the generic error is given, causing a 5xx error on the page.

Patch coming.

Comments

mpotter created an issue. See original summary.

mpotter’s picture

mpotter’s picture

Status: Needs review » Fixed

Committed to oa_core 8e2060c

Status: Fixed » Closed (fixed)

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