Closed (fixed)
Project:
EVA: Entity Views Attachment
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2011 at 09:37 UTC
Updated:
16 May 2014 at 07:12 UTC
Jump to comment: Most recent
Comments
Comment #1
fonant commentedPatch fixes the problem for me, and seems to make sense logically too :)
Comment #2
giorgosknotice goes away when we apply the patch
please commit
Comment #3
stevectorI'm bumping the priority on this patch because it also fixes an error that kills the rest of the page.
Comment #4
Remon commentedpretty straightforward :)
Comment #5
eaton commentedCommitted and pushed to the dev branch -- will go into the next release. Thanks!
Comment #6
chekka.de commentedGreat! DRUPAL Community ist really awesome!
I just searched for »EntityMalformedException« ... and all my problems are gone. (o:
Thanks
Comment #7
james.williamsGlad to hear I could help with *all* of your problems!!
Comment #8
mgladding commentedI may be having a similar problem, but in relation to the Drupal Commerce module. If I need to open a new issue, please let me know.
I am getting the following errors:
Notice: Undefined variable: entity in _eva_extract_entity_from_build() (line 148 of .../sites/all/modules/eva/eva.module).
EntityMalformedException: Missing bundle property on entity of type commerce_customer_profile. in entity_extract_ids() (line 7389 of .../includes/common.inc).
I upgraded to the dev version, but it didn't resolve the problem.
Thanks in advance for any help!
Comment #9
eaton commentedmgladding, I think that may be something different -- it sounds like the actual entity bundle itself from Drupal Commerce isn't coming in with a bundle type, and one of Drupal's internal functions is choking trying to process it before EVA even touches it. I'll take a closer look, but are you seeing this with any other entity types?
Comment #10
mgladding commentedJust when I try to complete the checkout process. I've disabled the EVA module and that fixed the problem. Not my ideal solution since I'd like to use the functionality of EVA.
Comment #11
eaton commentedJust when I try to complete the checkout process. I've disabled the EVA module and that fixed the problem. Not my ideal solution since I'd like to use the functionality of EVA.
What entity are you attaching it to, and does it display correctly when the entity is being displayed in other contexts? (ie, on a view page)?
Comment #12
mgladding commentedI haven't actually used the module yet. I just enabled it and got the error when I tried to checkout.
Comment #13
eaton commentedWell, that's DOUBLY odd. From that description, it sounds like Drupal Commerce isn't generating a well-constructed entity object, because the failure is occurring in the internal Drupal function that extracts an entity ID...
Comment #14
webankit commented+1
Comment #15
zambrey commentedWell, I've had this issue on Commerce checkout process but installing latest EVA dev version fixed that error.
Comment #16
joachim commentedIf it's any help, I enabled commerce_devel module and got this from the error when I try to advance from the billing commerce checkout pane:
Comment #17
joachim commented> Well, I've had this issue on Commerce checkout process but installing latest EVA dev version fixed that error.
Ditto -- installing the dev version fixed this.
@eaton: can we have a new release please?
Comment #18
beckyjohnson commentedI am having this issue as well.
I received this message:
Notice: Undefined variable: entity in _eva_extract_entity_from_build() (line 148 of /var/www/vhosts/xxxxxx/subdomains/xxxxx/httpdocs/sites/all/modules/eva/eva.module).
EntityMalformedException: Missing bundle property on entity of type profile2. in entity_extract_ids() (line 7389 of /var/www/vhosts/xxxxxx/subdomains/xxxxxx/httpdocs/includes/common.inc).
It happened right after I input my user location in my profile using the location / gmap modules.
Any ideas?
Comment #19
tehbmar commentedI had the same error message
"EntityMalformedException: Missing bundle property on entity of type profile2. in entity_extract_ids() (line 7405 of /var/www/xxxxxx/includes/common.inc)."
But I couldn't help but notice you have a different line number (7389 as compared to 7405) so I would suggest updating your core version, profile2, and installing the latest dev version for eva. That was the fix for my install.
Currently I have...
Core: 7.9
Eva: 7.x-1.x-dev (2011-Sep-19)
Profile2: 7.x-1.1
Also, don't forget to "drush updb" (or you can run http://example.com/update.php)
Comment #20
beckyjohnson commentedYeah I started using the dev versions of entity and profile 2 and the error went away....
Comment #21
tehbmar commentedYay, glad to see that everything worked out
Comment #22
czigor commentedI had the same problem as in #8. I'm not using profile2 (as in #19). Updating to latest dev of EVA solved it for me.
Comment #24
damien_vancouver commentedAlso experienced problem from #8, running 7.x-1.1. I don't use profile2, but am using Drupal Commerce.
As in #22, Upgrading to the latest 7.x-1.x-dev (2011-Sep-19) solved the problem for me, error message is gone!
Comment #25
mrpauldriver commentedSame problem as #18 with profile2.
Confirm that dev version (2011-Sep-19) of EVA fixes the problem
Comment #26
sensei-master commentedPatch works good! Thanks!
Comment #27
occucopy commentedAgree w/ #20, 22, 24, 25, etc. Hooray!
Comment #28
zabelc commentedI didn't have profile 2, but I did have the error above, and switching to the dev version fixed it. Any chance of a second stable release sometime?
Comment #29
drupalerocant commentedI had the same problem, with profile2 installed. I was lucky just today was realeased the stable version 1.2 which fixes the problem.
Thanks everybody!
Comment #30
mile23So the fix is to install EVA 7.x-1.2?
Comment #31
peterg.griffin commentedDev-version still gave issues, but updating to 7.x-1.2 fixed the issue.