Page 2 of 2
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Sat Mar 22, 2014 1:17 am
by Adrian
btw, the app will not crash but if you have the console open you will see the errors that I'm referring to. The problem is that the service never returns as the success call fails and the rest of the execution of other services after that never get run.
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Sun Mar 23, 2014 2:19 am
by Adrian
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Sun Mar 23, 2014 3:15 am
by Alena Prykhodko
Tested in Chrome and error is not replicated, but in Firefox there are other errors now. Could you please try there?
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Sun Mar 23, 2014 6:10 pm
by Adrian
On Firefox the app doesn't even load in the test environment. I'm attaching a snapshot.
Can you let me know which version of Chrome you are using? As I mentioned before I've tested both with Chrome, Safari on an iPhone 5 and the Appery.io app on an iPhone 5 and still have the same problem that I originally described.
Thanks!
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Mon Mar 24, 2014 9:57 am
by Maryna Brodina
Hello!
1) We tested in 33.0.1750.154 m Chrome version and there is no error. Please try to reload page with Ctrl+F5, clear cache, localStorage and local DB
2) On Device ready you have init_main();, but there is no such function.
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Mon Mar 31, 2014 6:09 am
by Adrian
I finally identified the root cause for the problem. I have a grid that gets iterated on as part of a service, and if I place a checklist element inside that grid the code to build that element crashes.
I'm going to try and replace that with an HTML element and build the checklist element programatically.
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Mon Mar 31, 2014 6:39 am
by Kateryna Grynko
Hi Adrian,
Let us know if you need any help.
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Mon Mar 31, 2014 9:14 pm
by Adrian
Could you take a look at the appery js class and let me know why this is happening? The problem occurs any time that I add a checklist or on/off element within a grid that gets iterated on.
The app has checklist element called "threatsBox" that you can use to test. To test click on the [+] and then on the "Spot Threats" button. You will see that the grid that shows after that only displays one element. If you remove the checklist element you will see that it iterates ok.
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Tue Apr 01, 2014 6:10 am
by Nikita
Hello.
Let's try to restore your app from backup. It may help.
Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o
Posted: Tue Apr 01, 2014 3:48 pm
by Adrian
Restoring from backup fixed the issue. Thanks!