APAR status
Closed as program error.
Error description
We are facing an error related to pagination on android, basically when we set the offset of option to find data we are getting the following error: ErrorObject {src: "advancedFind", err: 22, msg: "INVALID_SEARCH_FIELD", col: "workOrder", usr: "b2ffdbeb87e8e6331d350b482b328d309bc5a321", } " ---------------------------------------- rejected at Object.<anonymous> (file: ///android_asset/www/default/js/platform/store/_QueryBaseFilterM ixin.js: 109:14) at fire (file:///android_asset/www/default/worklight/wljq.js:1047: 30) at Object.fireWith [as rejectWith] (file: ///android_asset/www/default/worklight/wljq.js:1158:7) at Object.deferred.(anonymous function) [as reject] (file: ///android_asset/www/default/worklight/wljq.js:1247:34) at failure (file:///android_asset/www/default/worklight/jsonstore. js:969:18) at Object.callbackFromNative (file: ///android_asset/www/default/worklight/cordova.js:297:48) at processMessage (file: ///android_asset/www/default/worklight/cordova.js:1061:21) at Function.androidExec.processMessages (file: ///android_asset/www/default/worklight/cordova.js:1098:13) at pollOnce (file:///android_asset/www/default/worklight/cordova.js: 963:17) at pollOnceFromOnlineEvent (file: ///android_asset/www/default/worklight/cordova.js:953:5) ---------------------------------------- Error at Promise.then._7e7.then (file: ///android_asset/www/default/dojo/dojo.js:2:282029) at Object._findRecordsOnStore (file: ///android_asset/www/default/js/platform/store/PersistenceManage r.js: 762:5) at Object.findAll (file: ///android_asset/www/default/js/platform/store/PersistenceManage r.js: 812:16) at file: ///android_asset/www/default/js/platform/store/_LocalDataAccessS trategy. js:155:32 at _7da (file:///android_asset/www/default/dojo/dojo.js:2:280216) at Promise.then._7e7.then (file: ///android_asset/www/default/dojo/dojo.js:2:282110) at Object._localGetResourceNextPageDataFromStore (file: ///android_asset/www/default/js/platform/store/_LocalDataAccessS trategy. js:146:4) at file: ///android_asset/www/default/js/platform/store/_ServerPreferredD ataAcces sStrategy.js:152:17 at _7da (file:///android_asset/www/default/dojo/dojo.js:2:280216) at _7d4 (file:///android_asset/www/default/dojo/dojo.js:2:280080)" On android platform WL.jsonstore.get.find or WL.jsonstore.get. advanceFind errors out if options.offset is set anything other than 0. And when it is 0, it works fine. We are facing this after applied 7.1 from May: IF201705051403
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: * * Users of Android JSONStore Feature who use Search Option * **************************************************************** * PROBLEM DESCRIPTION: * * Search Option with Offset field was getting failed in * * JSONStore feature on Android Environment * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
JSONStore Feature Search option with Offset field issue is fixed and now its working as expected on Android Environment
Temporary fix
Comments
APAR Information
APAR number
PI86996
Reported component name
MOBILE1ST PLATF
Reported component ID
5725I4301
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-09-07
Closed date
2017-10-31
Last modified date
2017-10-31
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
MOBILE1ST PLATF
Fixed component ID
5725I4301
Applicable component levels
R710 PSY
UP
R800 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
31 October 2017