This report applies to the og 1342632 branch (see #1342632: Deprecate OG group entity) along with the required entityrelationships 1343854 branch (see #1343854: Separate "Selection" and "behavior" to different plugins).

If logged in as a user that does not have the "Administer Organic groups permissions", and you visit a page displaying a View that lists organic groups, the page does not get fully rendered and my PHP error log displays:

PHP Fatal error: Call to undefined method EntityValueWrapper::getIdentifier() in /mnt/SDData/web/www/html/.../sites/all/modules/og/og_ui/og_ui.module on line 422

I checked it out and it seems that during formatting/display of the group_group field, the getIdentifier() method is being called on a wrapper for that field's value (an object of the class EntityValueWrapper). But there is no getIdentifier() method implemented for EntityValueWrapper. That method is implemented, however, for the EntityStructureWrapper class and its subclasses. I'm not sure whether the author was expecting an object of type EntityStructureWrapper or if the getIdentifier() method is being called on the wrong object?

Comments

amitaibu’s picture

I can't reproduce this - is it on a clean installation?

paul2’s picture

Status: Active » Closed (cannot reproduce)

Unable to reproduce since doing a thorough uninstall and reinstall of OG and ER. Sorry for the trouble!

paul2’s picture

Issue summary: View changes

Hiding dev-environment-specific info - don't want the public visiting my dev instance