Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

From cloud to local database in jquery app

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.

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

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) Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

From cloud to local database in jquery app

Could you check values of variables language, weather, value?

What property do you use in the arrow to that parameter "where"?

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

Hi Sergiy
Hereby values. var weather is the SelectMenu

Image
Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

From cloud to local database in jquery app

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:

Image

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

btw "value" is the value of my lmin_output mapping.

Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

From cloud to local database in jquery app

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?

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

From cloud to local database in jquery app

Does not work without the "where". Any ideas?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

From cloud to local database in jquery app

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.

Return to “Issues”