Page 2 of 5
From cloud to local database in jquery app
Posted: Wed Feb 08, 2017 5:17 pm
by Serhii Kulibaba
Please try to debug your app remotely using Weinre debugger (https://docs.appery.io/docs/weinre-de...).
Please check if there are any errors in the browser console. You can learn here: https://docs.appery.io/docs/using-bro... how to open the console.
From cloud to local database in jquery app
Posted: Wed Feb 08, 2017 6:52 pm
by Dennis
Hmm
Getting this when doing a query JS:
Error: Path is undefined
at Object.get (mapping-impl.js:306)
at MappingUnit.window.mapping_unit.MappingUnit.processMappings (mapping-impl.js:175)
at MappingUnit.window.mapping_unit.MappingUnit.process (mapping-impl.js:127)
at Function.processMappingAction (mapping-impl.js:10)
at derived.onBeforeSend (Nozzles.js:676)
at derived.__beforeSendHandler (appery.js:324)
at Object.proxy [as beforeSendNoTrigger] (jquery-2.1.1.js:513)
at derived.execute (appery.js:295)
at HTMLDivElement.pageshow (Nozzles.js:872)
at HTMLDivElement.dispatch (jquery-2.1.1.js:4409)
From cloud to local database in jquery app
Posted: Thu Feb 09, 2017 5:18 pm
by Serhii Kulibaba
Could you check values of variables language, weather, value?
What property do you use in the arrow to that parameter "where"?
From cloud to local database in jquery app
Posted: Mon Feb 13, 2017 10:31 am
by Dennis
Hi Sergiy
Hereby values. var weather is the SelectMenu
From cloud to local database in jquery app
Posted: Mon Feb 13, 2017 1:33 pm
by Serhii Kulibaba
Please print them to the console, with a JS code below for each of these values:
preconsole.log(JSON.stringify(weather));/pre
Also, please open the error to see it's details:
From cloud to local database in jquery app
Posted: Mon Feb 13, 2017 1:48 pm
by Dennis
From cloud to local database in jquery app
Posted: Mon Feb 13, 2017 1:52 pm
by Dennis
btw "value" is the value of my lmin_output mapping.
From cloud to local database in jquery app
Posted: Mon Feb 13, 2017 2:59 pm
by Serhii Kulibaba
Sorry, but it is still not clear. Could you send us what values do these variables exactly have?
Please remove JS code from the parameter "where" and check, does it work without that code?
From cloud to local database in jquery app
Posted: Tue Feb 14, 2017 7:29 am
by Dennis
Does not work without the "where". Any ideas?
From cloud to local database in jquery app
Posted: Tue Feb 14, 2017 12:46 pm
by Serhii Kulibaba
Do you run there only one service, or several? Please check when exactly does this error appears in the console. Please provide us with a public app link (https://docs.appery.io/docs/testingan...) and exact steps to reproduce this problem.