I am having the weirdest error.
If anyone can give me hints, I've found nothing relevant with Google.
When I hook the events on ItemCheckingOut on a Document Library (TemplateType=101) with 6 items inside, properties.ListItem will always be null for all those items.
This never happened before. The problem seem related to the fact that those files are deployed in Feature with WSS Extensions 1.2.
Here is what I have done:
- If I try to access the list and get the items manually, the count return 0.
- If I try to get the file manually (even though sharepoint say it doesn't exist), I can't make any operation on it (OpenBinary in this case) and it will throw.
- Creating a new file that is not deployed by feature inside the same list make the "properties.ListItem" not null again for this specific element only.
Anyone have an idea?