Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Developer experience
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2012 at 14:10 UTC
Updated:
1 Apr 2012 at 18:43 UTC
I get the following error and i dont know why. It only get fixed when i delete all the orders.
EntityMetadataWrapperException: Unable to get the data property type as the parent data structure is not set. in EntityStructureWrapper->getPropertyValue() (line 442 of /Users/Sakis/Sites/Under_Construction/e-wireless/profiles/commerce_kickstart/modules/entity/includes/entity.wrapper.inc).
I am really blind here..... :(
Comments
Comment #1
NewZeal commentedI get the same error message on the review page in Commerce 7-x-1.2. I have shipping, stock and paypal modules installed. It only seems to happen when I am testing and going back and forth and / or changing scripts. If I open up a new browser and add a product and go to review it is all working ok.
This is a problem since customers are likely to navigate back and forth.
Apparently this is a shipping module problem: http://drupal.org/node/1379046
Comment #2
NewZeal commentedTurns out in my case it was a commerce_stock module bug: http://drupal.org/node/1498484 . An easy fix
Comment #3
rszrama commentedMarking this closed unless dianikol finds the problem in core itself. I don't know of any reason this issue should appear in core; it typically is the result of contributed modules not properly loading entities / managing field data.
Comment #4
dianikol commentedI believe too that it's not a core's problem. But I see that this error comes out on different modules. Anyway the error seems to disappear now somehow.
Comment #5
rszrama commentedHmm, ok, we'll definitely be keeping an eye out for it. Thanks for reporting! : )