Skip to main content
 

Known Issue: App Framework package fails during upgrade

KB002419

PRODUCT
K2 Five 5.1
BASED ON
K2 Five 5.1
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

When upgrading to K2 5.1 from K2 4.7 or K2 Five (5.0) and the App Framework is present and any of the App Framework artefacts were checked out during upgrade, the following error occurs:

Failed!  View   com.K2.App.Framework.Core.ItemView.ActionBarReview  |  00:00:00.0213158

Checked out by User '{installation user account}'. Cancel check out or perform check in

 

Cause

The issue occurs due to App Framework artefacts being checked out during upgrade. Ensure these artefacts are checked in prior to upgrade.

 

 

Resolution

Follow the steps below to resolve this issue.

  1. Ensure that all artefacts in the following path,  Apps > K2 > Framework > Core, are checked in, in K2 Designer.
    Image
  2. In the folder created when running the K2_Five_(5.1)_(5.0002.1000.2).exe file, navigate to the Installation folder.
    Image
  3. Select the K2 (5.0002.1000.2).kifx file and rename the kifx to zip.
    Image
  4. In the zip file, navigate to SmartObjectsServicesAppWizardPackage.
    Image
  5. Execute the packages, using K2 Package and Deployment, in the specified sequence as stated below:
    1. App Framework Core.kspx
    2. App Framework Core Extension Notification.kspx
    3. App Wizard.kspx
  6.  In the zip file, navigate to DataSourceCode.Data.AppWizardSourceCode.Data.AppWizardSchema ObjectsSchemasAppWizardScripts.
    Image
  7. Excecute the scripts against the K2 database, in the specified sequence, as stated below:
    1. AppFramework.inject.sql
    2. AppWizard.SetFrameworkSmOsAsSystem.inject.sql
  8. Rename the installer from K2 (5.0002.1000.2).zip back to K2 (5.0002.1000.2).kifx.

 

Be the first to reply!

Reply