Package & Deployment: Inconsistency detected between SmartObjects

  • 15 February 2022
  • 0 replies
  • 11 views

Userlevel 5
Badge +20
 

Package & Deployment: Inconsistency detected between SmartObjects

kbt152977

PRODUCT
K2 Five
K2 blackpearl
BASED ON
K2 blackpearl 4.7
TAGS
SmartObjects
Package and Deploy
End User
Administrator
Designer
Troubleshooting Tool
Support
Operations
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

 

When you are trying to deploy a package onto an environment after rolling back a database, this appears to be green at the first stage. However, after clicking next on the deployment button this then fails displaying a list of multiple errors to do with a particular list in Sharepoint.

Symptoms

The error that appears within the Package & Deployment console is the following: 

CreateListItemItem' not found in Service Object 'Change Requests' Definition. ---> System.Exception: Inconsistency detected between SmartObject 'List Name' and Service Object 'List Name' during loading of SmartObject Definition. Method : 'CreateListItemItem' not found in Service Object 'Change Requests' Definition. at SourceCode.SmartObjects.ServiceBrokerStore.Store.AddServiceInfo(XDocument doc, Boolean throwInconsistentException)

Troubleshooting Steps

 

Firstly, check to make sure that the management of content types setting on the list is checked as the list may be different on the environment you are deploying to. If this is not done then you may experience inconsitencies in the package. 

 

Secondly, make sure that the terms in the metadate store have not been disabled. If it has been disabled then this will need to be re-enabled. Once this has been done, the SmartObjects within Sharepoint will have to be regenerated and a new package will have to be taken after.

With this you should be able to deploy the package successfully.


0 replies

Be the first to reply!

Reply