This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
When creating a new version of a View or a Form by deploying a package an error occurs stating that an item with the same key has already been added.
“An item with the same key has already been added”.
The following error is logged in the K2 HostServer log: “DeploymentServer","30003","DeploymentError","SourceCode.Runtime.Services.Forms","30003 An item with the same key has already been added."
The logic that merges the new version of the View with the old version, changed the GUIDS of 2 cells to the same GUID.
- Ensure you have K2 4.7 installed.
- Install the K2 4.7 February 2017 Cumulative Update.
- Get the K2 4.7 February 2017 Cumulative Update FP1 from Regional Support.
- Install K2 4.7 February 2017 Cumulative Update FP1 to apply the fix.