Code Fix: An error occurs when packaging a solution after modifying the SharePoint List
KB001878
PRODUCTIssue Description
When modifying a SharePoint List after packaging a K2 for SharePoint solution, and regenerating the SmartObjects, Views and Forms, attempting to create a package again using K2 Package and Deployment (MMC) results in an error.
Error Message
"Error: Item contains errors that will cause deployment failures" will display in the Service Object of the modified SharePoint List.
Cause
The cache did not clear for the SharePoint List when selecting to regenerate SmartObjects, Views, and Forms.
Resolution
- 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 FP8 from Regional Support.
- Install the K2 4.7 February 2017 Cumulative Update FP8 to apply the fix.