Code Fix: An error occurs when attempting to package a Form with a SubView on a specific Form State
KB001823
PRODUCT
Issue Description
When creating a K2 package where the application contains a Form with a SubView on a Form State other than the base state, an error occurs.
Error Message
Object Reference not set to an instance of an object.
Cause
The Package and Deployment Forms Service only checked for the SubView reference on the base state events.
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 FP2 from Regional Support.
- Install the K2 4.7 February 2017 Cumulative Update FP2 to apply the fix.