Found a bug, I think. I'm able to get multiple records back for one
ListItem using the
Lists.GetListItems web service call. Has anyone else seen this?
The short of it was:
- I created a Lookup column that allow a user to select multiple items.
- I created a document content type that used that column.
- I used that content type in a library.
- I created some items with that content type.
- I tried to get a list of the items in that library via the Lists webservice.
What I found was that I got multiple records for the same
ListItem from my
GetListItems call. Essentially, I got the same
ListItem multiple times depending on the number of items selected in the 'multiple selection Lookup' column.
I've proved this against a couple of different systems. I just can't believe that this is intended behaviour. Why doesn't it just serialise the multi-Lookup normally?
http://www.novolocus.com/2008/04/07/duplicate-rows-from-the-sharepoint-lists-webservice/