- ππΊHungary Pasqualle ππΊ Budapest
I have run into an error when using
$entity->original
inhook_node_presave()
with this patch ("Edit form" option).
In testing Entity Clone on Commerce Product Entities, I ended up at the front of the site after every entity I cloned. I am not sure if this is intentional, but I find it inefficient. Usability would improve greatly if one has many entities to clone.
Possible solutions:
- Redirect to the entity form without saving
- Redirect to the entity form after saving
- Redirect tot the entity page.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I have run into an error when using $entity->original
in hook_node_presave()
with this patch ("Edit form" option).