After 4.7 upgrade, "Get Documents" and "Get Documents Metadata" displays an error
kbt144311
PRODUCTIssue
Upgrading to K2 4.7 results in being prompted to regenerate the K2 SmartObjects for all the lists and libraries.
- All list and libraries were successfully regenerated.
- SmartObjects "Get Document By ID" and "Get Document Metadata by ID" run successfully.
- When trying to run "Get Documents" or "Get Documents Metadata" on any of the libraries, the error below appears:
"ErrorGeneral","0","ErrorMessage","SharePoint Broker","0 System.MissingFieldException: Field not found:
'SourceCode.SmartObjects.Services.SharePoint15.Common.FilterObjects.LookupAlphaNumericFields'. at SourceCode.SmartObjects.Services.SharePoint.Operations.SPListItem.Plans.ReadPlanIndex.
BuildBasicGetListItemsExecutionPlan(Boolean pagingEnabled)
at SourceCode.SmartObjects.Services.SharePoint.Locators.ExecutionPlanLocator.Locate[T](Object executionPlanType) at SourceCode.SmartObjects.Services.SharePoint.
Operations.SPDocument.Builders.DocumentOperationContextBuilder.Create() at SourceCode.SmartObjects.Services.SharePoint.Factories.OperationContextFactory.Create() at SourceCode.SmartObjects.
Services.SharePoint.Factories.ExecutableObjectFactory..ctor(ILogger logger, IServiceMarshalling serviceMarshalling, ISecurityManager securityManager, ServiceAssemblyBase serviceAssemblyBase)
at SourceCode.SmartObjects.Services.SharePoint.SharePointService.Execute(). Additional info:
Field not found: 'SourceCode.SmartObjects.Services.SharePoint15.Common.FilterObjects.LookupAlphaNumericFields'..",
"anonymous","0.0.0.0","K2-Server:C:Program Files (x86)K2 blackpearlHost ServerBin","133422","967b39200d0c4bec92333a2cb1ad2409",""
Symptoms
This issue occurs when you create a new document library and a new custom list, both without any custom fields, and then create a SmartObject for these libraries.
Executing the method "Get Documents" or "Get Documents Metadata" on any of the libraries via the SmartObject tester tool will produce the error.
Resolution
To resolve this issue, run a K2 Blackpearl repair via the installation media.
Once the repairs are done, reinstall any Cumalative Updates and Fix packs that were applied.