I am having a strange issue with one of my Document Libraries. It is the document library created by the publishing feature "Documents." Here are the symptomps and what I have done so far. Any help would be greatly appreciated:
Symptoms:
- Update existing item field >> Save and close item >> re-open item. Field not updated, but Modified By and Modified Date updated for the item.
- Create a new item >> Save item >> repeat same steps as for existing item >> works as expected.
- (Update) Tried to update the document property from Microsoft Word (File > Properties) >> This works as expected.
What I have done so far:
- Added a new field (of Enterprise Metadata type) to the list >> repeated the steps listed under Symptoms >> no change.
- Checked ULS activity when updating item >> got the entries as listed in this website: http://www.deviantpoint.com/category/NET.aspx. As for the solution listed there, removing the
<trace>
element, could not find that element in my web.config. - Updated the list item programmatically >> same results as if modifying manually.
- (Updated) Removed the workflow attached to the list. This workflow used to get activated when a new item was create or modified >> same results - no change.
(Updated) Ran the following PowerShell commands to get the lists and event receivers attached to the lists. Result for the Documents library below:
$web = Get-SPWeb -Identity "http://subsite/url"
$web.Lists | Where {$_.eventreceivers.count -gt 0} | Select title,eventreceivers | Format-List
Result:Title : Documents EventReceivers : {, , }
(Updated) Opened the MS Word document in one of the items >> File menu >> Info side tab >> Check for Issues >> Inspect document. Document inspector returned with Document Properties and Personal Information (Document properties, Author, Related documents and path, Document server properties, Content type information), and Custom XML Data. I then clicked on the "Remove All" buttons for removing the Document properties and personal information and Custom XML Data >> Saved the document >> Edited the document. This time it worked! This at the expense of some of the metadata associated with the document. Is there any way of telling why this may be happening? Or is there a way to pin point which metadata is causing problem?
(Updated II) I removed the Custom XML Data from another document in the library the same way. Now, all the items are magically updating after edit and saving properly. How did this happen?
I am at the end of my wits with this issue since there is no debug information, nor can I link this behavior with a particular event. Please help.