inline_entity_form_form_alter() function mixing up form submit callbacks, the order is currently 'commerce_order_ui_order_form_submit' => 'commerce_order_order_form_submit' and it should be reversed because ui-submit need to know the order id for a successful redirection

CommentFileSizeAuthor
inline_entity_form.module-7.x-1.5.patch919 bytesparasite

Comments

bojanz’s picture

antonyanimator’s picture

I cannot apply this patch using https://drupal.org/patch/apply (I'm not using git apply)

can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/sites/all/modules/inline_entity_form/inline_entity_form.module b/sites/all/modules/inline_entity_form/inline_entity_form.module
|index 0e39c5d..70cacd5 100644
|--- a/sites/all/modules/inline_entity_form/inline_entity_form.module
|+++ b/sites/all/modules/inline_entity_form/inline_entity_form.module
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
antonyanimator’s picture

I changed the top bit of the patch to this:

diff --git a/inline_entity_form.module b/inline_entity_form.module

--- a/inline_entity_form.module
+++ b/inline_entity_form.module