I'm facing 2 problems when I'm deploying my solution in QA environment.
I have written a feature (Feature 1) to create custom list (say List 1). When feature 1 is activated, List 1 is getting created.
I have written another feature (Feature 2) thru which I am attaching “ItemUpdated” event to List 1. Feature 2 is getting activated and event is attached to List 1 successfully. (I confirmed this using ULS Logs)
Problem 1: When I update item in List 1 Item Updated event is not firing.
I have document library already created in my sub site.
I have written feature (feature 3) thru which I am attaching “ItemAdded” event to this document library. Feature 3 is getting activated and event is attached to document library successfully. (I confirmed this using ULS Logs)
Problem 2: When I add new item to document library Item Added event is not firing.
Please let me know if I'm missing something here?
Events are attached to the lists. I have confirmed by running following powershell command:
$w = Get-SPWeb -identity "My site URL" $l = $w.Lists["My List Title"] $l.EventReceivers