Testing IEF on Drupal 8 beta 12 I'm experiencing behavior where saving the IEF does not complete, returning with the open form and no displayed error. I had tested IEF on beta 11 and it had been successfully submitting. I'm running the latest dev release at the time of this posting. Console shows an AJAX 500 error:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Uncaught AjaxError:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /node/add/issue?ajax_form=1&_wrapper_format=drupal_ajax
StatusText: Internal Server Error
ResponseText:
If I try to save the parent form with IEF open and filled out, the page will WSOD. Watch dog has this notice logged:
<em class="placeholder">Notice</em>: Undefined variable: entities_count in <em class="placeholder">Drupal\inline_entity_form\Plugin\Field\FieldWidget\InlineEntityFormMultiple->formElement()</em> (line <em class="placeholder">298</em> of <em class="placeholder">modules/inline_entity_form/src/Plugin/Field/FieldWidget/InlineEntityFormMultiple.php</em>)
Comments
Comment #1
bojanz commentedRetitling.
Comment #2
bojanz commentedFixed.
Comment #4
tannerjfco commentedThe issue as originally reported still persists. I am unable to submit the IEF form, resulting in the same error in the Console as originally reported. It would seem the watchdog notice I included was unrelated.
Comment #5
bojanz commentedMake sure you're testing with beta13 or the latest D8 -dev. IEF is not compatible with older betas.
Comment #6
bojanz commentedI fixed the error I could reproduce. Once you test with a fresh install, you're free to open a new issue.