Code Fix: Deselecting items in K2 Package and Deployment during packaging presents an error

  • 16 February 2021
  • 0 replies
  • 2 views

Badge +5
 

Code Fix: Deselecting items in K2 Package and Deployment during packaging presents an error

KB002461

PRODUCT
K2 Five 5.0
K2 Five (5.0) Fix Pack 25
LEGACY/ARCHIVED CONTENT
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.

 

Issue Description

When you create a package with K2 Package and Deployment, once you deselect all categories after selecting the “Select All” button, additional uncategorized items get added to the package which causes an error.

Error Message

The following error occurs: “System.InvalidCastException: Unable to cast object of type 'SourceCode.ComponentModel.Model' to type 'SourceCode.ComponentModel.TypedItemRefBase'.”

Resolution

  1. Ensure you have K2 Five RTM installed.
  2. Get the K2 Five RTM FP25 from Regional Support.
  3. Close off K2 Package and Deployment.
  4. Install the K2 Five RTM FP25 to apply the fix.

 


0 replies

Be the first to reply!

Reply