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
Comment #1
amitaibuI can't reproduce this - is it on a clean installation?
Comment #2
paul2 CreditAttribution: paul2 commentedUnable to reproduce since doing a thorough uninstall and reinstall of OG and ER. Sorry for the trouble!
Comment #2.0
paul2 CreditAttribution: paul2 commentedHiding dev-environment-specific info - don't want the public visiting my dev instance