SharePoint 2010: When inline editing is enabled on a view, duplicate items can be created if the page is refreshed

Symptoms

When inline editing on a view is enabled, duplicate items can be created if the page is refreshed after an item has been created.

Please refer to the link below for additional information about Inline Editing:

http://office.microsoft.com/en-us/sharepoint-foundation-help/create-modify-or-delete-a-view-HA010377693.aspx

This only occurs for complex field types, such as:

Multiple lines of text
External Data
Lookup

Cause

This is a known limitation when working with complex fields. Every time a page refresh happens a full postback is made resulting in a duplicate list item.

Resolution

The workaround is to use the out of the box form pages to manipulate list data if the problematic fields are used in the view.

As a preventative measure the new Enforce unique values functionality can be turned on to prevent item duplication but it can result in a confusing experience if a user refreshes the page with this functionality turned on.

Please refer to the link below for additional information about Enforce Uniqueness:

http://msdn.microsoft.com/en-us/library/ee536168.aspx

Finally, a workflow could be used to look for duplicate fields and remove them as well.
Properties

Article ID: 2600186 - Last Review: Sep 20, 2011 - Revision: 1

Microsoft SharePoint Server 2010, Microsoft SharePoint Foundation 2010

Feedback