I have created a custom list in MOSS 2010 that has a column type of Person/Group. I am storing AD username in that column. Also, I have created a view for the list that is filtering data based on the Person/Group column. All is good if I add/edit items in the list via MOSS.
However, I have created a web part that inserts the items in this list. After inserting the items in the list, the view does not display the items inserted to the list via webpart . However, if I edit the inserted record and save it again, it displays the record in the custom view.
Can you please help in this as I have wasted almost a day in fixing this and tried and tested all the obvious errors that I could like, checking of spaces/special charcters etc.