When deleting a node with an emfield on it the emfield_provider_data hook runs even though the user is trying to delete the node.

Not sure I understand the point of trying to retrieve emfield data for something that is in the process of being deleted.

This also causes a problem for two additional reasons...

1. There is no easy way to tell in the emfield_provider_data hook that this is a delete operation (which would allow emfield provider developers to simply skip trying to retrieve data or return error messages)

2. If retrieving the data causes an error the user gets an error displayed on the delete confirm screen that makes no sense.

Fix would be to not run the data hook on a delete operation, or provide an argument to the data hook so a provider developer can tell that it is a delete operation and skip trying to retrieve data.