Code Fix: Renamed SmartObject properties create duplicate fields on a view
KB002006
PRODUCT
Issue Description
When a SmartObject property gets renamed to the same name as a previoulsy deleted property, a new field will be created on the view with the same name as before. This results in duplicate fields on the view which causes package and deployment validation to fail.
Error Message
The error message states "A property with the same name and namespace already exists in the model. name = 'Guid' and namespace 'urn:SourceCode/SmartForms/View?CustomerInfo-IV#Sources.88c48b3c-424b-4574-8327-8502af984a0e/Fields.Service Location".
Resolution
- Ensure you have K2 4.7 installed.
- Download and install the K2 4.7 August 2017 Cumulative Update from K2 Partner and Customer Portal.
- Get the K2 4.7 August 2017 Cumulative Update FP3 from Regional Support.
- Install the K2 4.7 August 2017 Cumulative Update FP3 to apply the fix.