Known Issue: App Framework package fails during upgrade
KB002419
PRODUCT
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.
- Ensure that all artefacts in the following path, Apps > K2 > Framework > Core, are checked in, in K2 Designer.
- In the folder created when running the K2_Five_(5.1)_(5.0002.1000.2).exe file, navigate to the Installation folder.
- Select the K2 (5.0002.1000.2).kifx file and rename the kifx to zip.
- In the zip file, navigate to SmartObjectsServicesAppWizardPackage.
- Execute the packages, using K2 Package and Deployment, in the specified sequence as stated below:
- App Framework Core.kspx
- App Framework Core Extension Notification.kspx
- App Wizard.kspx
- In the zip file, navigate to DataSourceCode.Data.AppWizardSourceCode.Data.AppWizardSchema ObjectsSchemasAppWizardScripts.
- Excecute the scripts against the K2 database, in the specified sequence, as stated below:
- AppFramework.inject.sql
- AppWizard.SetFrameworkSmOsAsSystem.inject.sql
- Rename the installer from K2 (5.0002.1000.2).zip back to K2 (5.0002.1000.2).kifx.