I have a custom parent content-type on which I apply 6 event-handlers. I then have 24 content-types based off of the parent content-type - thus inheriting the 6 event-handlers.
- All defined in XML
I then have a list-instance in which I bind the 24 content-types.
When I deploy the list is correctly created from the list-instance and the content types are correctly bound to the list.
When I then uploaded some documents I noticed some weird behavior with the event-handlers.
I decided to check it out using powershell and found that the event-handlers bound to the custom parent content-type was bound 24 times to the list.
So I have 24 * 6 event-handlers on my list. I have no clue how this has happened as I bind the event-handlers to the custom parent content-type.
Is this a bug or is this expected behavior and I missed a detail?