Closed (fixed)
Project:
Inline Entity Form
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2012 at 12:43 UTC
Updated:
1 Oct 2012 at 12:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
theo_ commentedHere is the patch
Comment #2
theo_ commentedReroll it in a more generic way
Comment #3
joachim commentedI think this belongs outside of this module. IEF is a field widget, whereas this is a referential integrity rule that any widget type on a reference could feasibly use.
I'm planning on working on a general referential integrity module, BTW -- but as far as this patch goes I would suggest this should be a wontfix.
Comment #4
dave reidYeah this is more in the area of http://drupal.org/sandbox/drothstein/1775816, which joachim you may want to look at since it works for any field type that defines its foreign keys correctly.
Comment #5
bojanz commentedCommitted this:
http://drupalcode.org/project/inline_entity_form.git/commitdiff/db4d479?...
It's a stop-gap measure. Without this, line items don't get removed when an order gets deleted, because Commerce only targets its own widget.
And there's the same problem for product variations in Kickstart, which was a critical bug there.
I can't pull a sandbox into the distro, so as soon as there's a good replacement, I can revert this patch.