Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

ItemDeleting event receivers on documents in a folder that is being deleted are not fired

$
0
0

When deleting a folder in a document library the ItemDeleting/ItemDeleted event receivers for all documents and folders contained in it are not fired even though they are being deleted. Only the event receivers of the folder being directly deleted is called.

I can hardly imagine nobody has noticed this, but have found no information about it on the web at all. So I'm skeptical if I'm doing something wrong. Can anyone confirm or contradict my observations?

As a background to our issues with this bevaiour: We have ItemDeleting event receivers on a document library needed to optionally restict deletion according to complex criterias, cleanup any references and add entries to a tracking list when a document is deleted. If these event receivers are not fired we have inconsistencies.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>