Closed (duplicate)
Project:
Inline Entity Form
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2013 at 06:16 UTC
Updated:
15 May 2013 at 20:00 UTC
Inline entity form hangs when 'Add new node' is clicked..
Guess its an Ajax issue..but no error message is displayed.
Just the 'Please wait..' option shows up and the site hangs.
Kindly help.
Thanking you.
Comments
Comment #1
bojanz commentedThere is nothing I can do to debug that.
You will have to return with more information.
Comment #2
Nick Robillard commentedI'm having a similar issue. I'm having a hell of a time debugging it because of a lack of error detail.
When I click Add New Variation, Please Wait appears and the AJAX post to system/ajax aborts and throws an alert with a very general message. (No error in PHP log)
An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /system/ajax
StatusText: error
ResponseText:
ReadyState: 0
I have no extra fields in my Product type, other than the default SKU, Title, Price and Status. One important note - Add New Variation works as expected if I create a second Product type and limit "Product types that can be referenced" to the 2nd product. It breaks if I reference the same Product type. Is this an issue with self referencing?
Module versions
Commerce: 7.x-1.7
Entity: 7.x-1.0
Inline Entity Form: 7.x-1.1 (also tried latest dev version)
Here is the Form Data that causes the system/ajax post to abort:
Comment #3
bojanz commentedCheck if there is anything in watchdog or your error logs.
Comment #4
Nick Robillard commentedNothing in watchdog or php error logs.
Comment #5
Nick Robillard commentedOk, I've figured this out. I was attempting to use a product reference field within the Product entity rather than a node. I guess referencing a product entity from another product entity isn't supported. I've moved the product reference with inline entity form widget to my product content type (node) and everything is working as expected.
Comment #6
bojanz commentedYes, that's currently not supported, there's an issue in the queue about fixing it.