I have a major problem with all my views containing product referenced no-longer having (Referenced Line items or Referenced Products) as options in the views "Relationships". One of the most important views thats broken is "Shopping cart form (Commerce Order)". The line items no longer have pricing. Sometimes the entire view has no fields available.
I have tried dev versions as well as older versions of modules including (views, commerce_kickstart, entity) as well as a few others.
Each time I edit a view I get the dreaded message that "This view has been automatically updated to fix missing relationships...". Then my view has multiple broken/missing fields and relationships.
I am getting an error:
EntityMalformedException: Missing bundle property on entity of type commerce_order. in entity_extract_ids...
But that error is coming from [DOMAIN]/admin/structure/views/view/commerce_cart_form/preview/default/ajax
That error appears when I first edit the view. I recently updated to commerce_kickstart-7.x-2.x-dev but the problem still exists.
Forgot to mention my Drupal version is: drupal 7.34 but I have also reverted to: 7.32
Any help is greatly appreciated.
Thanks in advanced.
Comment | File | Size | Author |
---|---|---|---|
#5 | drupal_commerce_entities.png | 69.98 KB | Ivan_Dagreat |
Comments
Comment #1
Ivan_Dagreat CreditAttribution: Ivan_Dagreat commentedComment #2
Ivan_Dagreat CreditAttribution: Ivan_Dagreat commentedComment #3
Ivan_Dagreat CreditAttribution: Ivan_Dagreat commentedI resolved all errors (unrelated issues) but the view still has missing dependencies.
Now when i edit the view I only get:
This view has been automatically updated to fix missing relationships. While this View should continue to work, you should verify that the automatic updates are correct and save this view.
Comment #4
Ivan_Dagreat CreditAttribution: Ivan_Dagreat commentedI could really use some help with this if anyone has an idea.
Every view on the site that uses a "commerce_order" reference is broken.
Thanks
Comment #5
Ivan_Dagreat CreditAttribution: Ivan_Dagreat commentedOne thing I have noticed while comparing this site to an older backup (too old to use) is that in the "Entity View Modes" there are far more entities listed under Commerce Product than the backup. And the new entities seem to be some sort of duplicate under "Commerce Product".
Example:
And plenty more that same way. See attached..
I know this could possibly be normal but I am just checking any and all options.
Please let me know if this is (un)common.
Thanks
Comment #6
lsolesen CreditAttribution: lsolesen commentedIt is hard to help you as there is really no telling when stuff went wrong for your relationships. Can you replicate the issue on a clean install? Otherwise, your best bet is probably to contract a Drupal Shop to fix the problems.
I do not know about the extra view modes.
On another note, it is not wise to upgrade or downgrade modules which is a part of CK distribution. The modules are tested to work together. Not with newer or older versions of the modules. Always perform such tasks on a dev-site.
Comment #7
Ivan_Dagreat CreditAttribution: Ivan_Dagreat commentedThanks for the response lsolesen.
I actually tried to reach out to Commerce Guys but never received a response. Do you have a shop in mind?
Comment #8
mglamanNot sure what happened, but you can try reverting your views, because some customization must have happened (or commerce_product_reference disabled?)
Try Drupal Answers (http://drupal.stackexchange.com/) for better support responses (usually more timely than queue)