I have a node form in a panel page, when saving the form to create a new entity, and I have form validation errors, I get the following error message:
Notice: Undefined property: stdClass::$status in ctools_node_status_ctools_access_check()...
In $context->data the form initially has a status of 0, but after saving with validation errors, status is not available in $context->data.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | check-empty-status-in-node-status-access-check-3029054-2.patch | 453 bytes | smulvih2 |
Comments
Comment #2
smulvih2Here is a patch that checks if status is empty.
Comment #3
smulvih2Comment #4
joelpittetThanks @smulvih2, I've committed this to the dev branch.
Comment #6
joelpittet