Timeline for ItemEventReceiver - ItemDeleting not working with a document library and referencing list
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 19, 2013 at 11:24 | comment | added | TheLazyChap | I have done that before Per, unfortunately it seems like I am getting a circular delete issue cause both list has an ItemDeleting event receiver on them. So by calling that delete, it triggers the other ItemDeleting method from the document library which in turns calls the ItemDeleting again. i.e possibly an infinite loop until the SPException was thrown saying 'File does not exists, it may have been deleted by someone'. | |
Aug 19, 2013 at 9:05 | history | answered | Per Jakobsen | CC BY-SA 3.0 |