Posted by tim.plunkett on August 3, 2012 at 7:49pm
4 followers
| Project: | Entity API |
| Version: | 7.x-1.x-dev |
| Component: | Code - misc |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When I wrap an entity with entity_metadata_wrapper, at the end of the process it is tedious to call entity_view().
A helper method would be great.
Comments
#1
See attached.
#2
Hello tim.plunkett,
I am working with Drupal 7 and have installed the latest version of Entity API. Every time I try to create a sparql views resource type I get the following error. Would you be able to help with this?
<?phpEntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityDrupalWrapper->set() (line 735 of /wwww/sites/all/modules/entity/includes/entity.wrapper.inc).
?>
Thanks.
#3
Hello there again,
I have been trying to add a sparql endpoint registry and always bump into errors related to the module as shown below. Would you be able to assist in checking this error message?
Warning: Illegal offset type in isset or empty in entity_get_info() (line 7524 of /www/includes/common.inc).Warning: Illegal offset type in isset or empty in entity_metadata_wrapper() (line 1086 of /www/sites/all/modules/entity/entity.module).
Warning: strpos() expects parameter 1 to be string, object given in entity_property_list_extract_type() (line 307 of /www/sites/all/modules/entity/includes/entity.property.inc).
Warning: Illegal offset type in isset or empty in entity_get_controller() (line 7676 of /www/includes/common.inc).
Warning: Illegal offset type in isset or empty in entity_get_info() (line 7524 of /www/content/www/includes/common.inc).
Before the above error I first get the following one
Fatal error: Class name must be a valid object or a string in /includes/common.inc on line 7679Thanks in advance for your help.
#4
How is this related to this issue?
#5
Sorry.
#6
Good idea, committed.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.