Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Source: Clean Drupal 7.15 and OG 7.x-2.x installlation.
Description: This error causes Drupal to display:
Error: The website encountered an unexpected error. Please try again later.
EntityMetadataWrapperException: Missing data values. in EntityMetadataWrapper->value() (line 83 of /var/www/test/drupal-7.15/sites/all/modules/entity/includes/entity.wrapper.inc).
Replication:
- Create a new content type as a group
- Create a new content type as a group content and give default group audience to upper created group type
- Create a group node
- Create a group content and link it (group audience) with upper group node
- Delete the group (parent)
- Visit group content node (child)
- Drupal dies with error above
Comment | File | Size | Author |
---|---|---|---|
#3 | 1795718-og-ui-formatter-3.patch | 848 bytes | amitaibu |
Comments
Comment #1
amitaibuI don't understand the scenario, screenshots would be helpful.
Comment #2
alesr CreditAttribution: alesr commentedFunctionally I tried to do the same thing as Kirpaul in this task http://drupal.org/node/1795828
Long story short... if I remove the group content's parent group and try to visit this orphan content then, I get the error from above.
Comment #3
amitaibuComment #4
amitaibubetter title
Comment #5
alesr CreditAttribution: alesr commentedPatch from #3 works and fixes the problem for me.
Comment #6
amitaibuCommitted.