Adrian
Posts: 0
Joined: Thu Mar 20, 2014 3:34 am

Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o

After I upgraded the project from the v1.2 libraries to v2.0 I had to change my services to use Appery. instead of $t for my class definition for the project to load. However, the settings.success and settings.complete calls that were working fine before now trigger an Uncaught TypeError: Object [object Object] has no method 'enhanceWithin' as if it was undefined.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o

Hello Adrian,

Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a, tell us its name and steps to test (also login credentials if needed)

Adrian
Posts: 0
Joined: Thu Mar 20, 2014 3:34 am

Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o

Just shared it. The app name is Flight Threats App and the problem can be reproduced by clicking on the + sign in the start screen, as well as when you click on the "spot threats" or "get familiar with your flight" buttons.
The custom javascript code for the service is where the problem is happening. It was running fine with v1.2 libraries.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o

Hello!

It's not reproducible for us. Did you fix it?
If no, please post error screenshot.

Adrian
Posts: 0
Joined: Thu Mar 20, 2014 3:34 am

Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o

No, haven't been able to fix it. I'm testing on Chrome, will attach a screenshot shortly.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o

Sorry - it's not reproducible for us. Can you send us old version, perhaps?

Adrian
Posts: 0
Joined: Thu Mar 20, 2014 3:34 am

Service triggers an "Uncaught TypeError: Object [object Object] has no method 'enhanceWithin'" after upgrading to v2.0 o

Illya, I'm having the problem testing on Chrome 33.0.1750.154 and also on the appery.io app on iOS. I can send you anything that you might need but it is surprising that you are not able to reproduce. Can you let me know how you are testing?

Return to “Issues”