After upgrading to 8.x-1.x-dev due to #2675292: Unable to publish nodes I encountered a Fatal error on the node add and view pages.
When adding a node with workflow enabled, and the content workflow field added to the form display using the Workflow transition form widget, the following fatal error occurs:
https://www.drupal.org/files/issues/node%20add%20general.png
The issue occurs from a recursive buildForm call at:
Drupal\workflowfield\Plugin\Field\FieldWidget\WorkflowDefaultWidget->formElement WidgetBase.php 329
Subsequently, viewing a node also gives a similar error:
Comment | File | Size | Author |
---|---|---|---|
view node.png | 462.02 KB | acbramley | |
node add general.png | 11.33 MB | acbramley |
Comments
Comment #2
johnvPlease give me the setup of your content type. Is the workflow field added directly to the main Node? Or to some subnode using inline_entity_form?
Comment #3
acbramley CreditAttribution: acbramley commentedTo the main node, we weren't using anything like inline_entity_form. There were entity reference fields on the content type though if that makes a difference.
Comment #4
johnvThe error in the png is "Fatal error: Maximum function nesting level of 1000 reached' in ConfigEntityType.php on line 91.
Comment #5
johnvPlease try latest Dev or beta-6 version.
Comment #7
RaisinBranCrunch CreditAttribution: RaisinBranCrunch commentedThis is happening to me, too, on the latest beta-6. Did the creator of this issue ever get this solved?