Filter on smartobject causes Must declare scalar variable in smartforms not tester tool


Badge +10


 

Symptoms


Must declare the scalar variable "@filterParamValue1eb24a52aeee742bfa9ce258f2f947030ORDER".
Type:
SourceCode.SmartObjects.Client.SmartObjectException
Source:
SourceCode.SmartObjects.Client
Method Base
Member Type:
Method
Name:
GetSmartObjectReader
Module
Scope Name:
SourceCode.SmartObjects.Client.dll
Declaring Type
Full Name:
SourceCode.SmartObjects.Client.SmartObjectClientServer
Stack Trace:

at SourceCode.SmartObjects.Client.SmartObjectClientServer.GetSmartObjectReader(SmartObject smartObject, ExecuteListReaderOptions options, Dictionary`2and propertyReference)

at SourceCode.SmartObjects.Client.SmartObjectClientServer.ExecuteListReader(SmartObject smartObject, ExecuteListReaderOptions options)

at SourceCode.Forms.AppFramework.FormsApiToXml.ToXmlList()

at SourceCode.Forms.AppFramework.FormRuntime.SmartObjectExecution(XPathNavigator nav, Boolean outputDependencies, SmartObjectClientServer svr)

at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(String xml)

at SourceCode.Forms.Runtime.AJAXCall.ProcessRequest(HttpContext context)
 

Diagnoses


This issue is 4.6.9 specific. When performing a filter on a list method in smartforms, the error surfaces at runtime. Output via the service tester tool is normal. Removing the filter will resolve the error.
 

Resolution

Please contact K2 support for a possible fix on this issue.




 

0 replies

Be the first to reply!

Reply