Hi,
After installing entity-soft-delete module, i done required configuration. If i go to node/add/article then its throw following warning.
. This issue is not happen in view,edit,delete for a node.
From our notices: Following entity_soft_delete_add_soft_delete_actions calling in 'entity_soft_delete_form_alter'. In line no 1330(if (entity_access('delete', $entity_type, $entity)) ), this 'if condition' is executing for 'node/add/content-type'.
Please find another notice error also(image is attached).
Regards,
tssarun.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | entity_soft_delete-entity_metadata_no_hook_node_access_error-2298801-6-7.x-1.x-dev.patch | 698 bytes | guypaddock |
| #5 | ESD Stack.PNG | 97.13 KB | guypaddock |
| notices.png | 41.49 KB | tssarun | |
| warning.png | 35.35 KB | tssarun |
Comments
Comment #1
Molodoy commentedAny updates on this issue?
Comment #2
sinasalek commentedYes actually it has been fixed, you can try the latest dev snapshot when it became available
Comment #5
guypaddock commentedRe-opening. Still seeing the same issue with the latest code. Stack screenshot attached.
Comment #6
guypaddock commentedAttached is a patch to attempt to fix this.
Any idea why we needed the check against the form ID to verify that the form was an add form? The fact that it's a node and it has no node ID should be enough.