Confused event receivers
Posted on 2014-01-27
I've written and deployed a feature. This feature has 3 event receivers.
Each event receiver is tied to its own list using <Receivers ListUrl="Lists/Registrations"> in its respective Elements.xml file.
When I go through and test the receivers they all work as expected except they will often given the returned message (properties.ErrorMessage) of one of the other event receivers!
Could this be a caching issue?
Also, when I attempt to delete a shared document I get the message that only site admins can delete the document (which is how one of the event receivers works on a different list)... none of the 3 event receivers have anything to do with the shared documents library!
The 3 event receivers are tied to the follwing 3 custom lists
They are all bound to the ItemDeleting event.