This is a migrated thread and some comments may be shown as answers.

[Bug Report] Android Button tap or mouse hover triggers an error in kendo js file

12 Answers 136 Views
Button (Mobile)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mohammad
Top achievements
Rank 2
Mohammad asked on 10 Jun 2013, 06:03 AM
There is a weird behavior of the button control when trying to test it on android all other platforms everything works well except when trying to mouse hover or click the button an error will occur "cannot call the method call of undefined in kendo.all.min.js"

The weird thing is if i host the application on an http server the error triggers however if i open it from a local file "file:///" nothing happens it works well.

PS: am using your download demo files , file name is "appearance.html" kendo version is  2013.1.514.

Error Details : Uncaught TypeError: Cannot call method 'call' of undefined kendo.mobile.min.js:10arguments.length.t.(anonymous function)kendo.mobile.min.js:10b.event.dispatchjquery.min.js:3v.handlejquery.min.js:3

12 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 11 Jun 2013, 07:56 AM
Hello Mohammad,

The screenshots posted seem to be taken from Chrome. Can you please provide more details on how to reproduce the problem in question? As a side note, after changing the useragent and touch events simulation in the developer tools, the page needs to be reloaded in order for the feature detection flags in Kendo UI to be re-evaluated. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mohammad
Top achievements
Rank 2
answered on 11 Jun 2013, 09:01 AM
Here's a video on how to reproduce the bug.
0
Mohammad
Top achievements
Rank 2
answered on 12 Jun 2013, 08:39 AM
any updates ?
0
Petyo
Telerik team
answered on 12 Jun 2013, 12:54 PM
Hello,

Thank you for the provided video. Changing the user agent string does not turn Google Chrome into an android browser (touch events are not emulated, etc). Do you experience the same error when testing in the android emulator or real devices?

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mohammad
Top achievements
Rank 2
answered on 13 Jun 2013, 04:53 AM
Hi Thanks you for the reply,
Actually yes I do have the same problem when i deploy the app using icenium. As soon as i click any button the same error however though its very hard to reproduce the bug, it has only showed after several tests with our implementation team and the error happened when they click on the button 10 times directly to see if the app holds user interaction. Ill try to send you a picture of the error from the galaxy tab 2 Samsung as soon as it occurs again.
0
Petyo
Telerik team
answered on 14 Jun 2013, 10:56 AM
Hello Mohammad,

Thank you for the additional information. We managed to reproduce a very similar problem (at least, it results in the same error message), related to the mobile buttons. A fix for it will be available in our next internal build, as well as in the upcoming beta release.

I am sorry for the inconvenience caused.

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dean
Top achievements
Rank 1
answered on 17 Jun 2013, 10:44 PM
Hi Petyo,

I've downloaded the latest internal build (Kendo UI Mobile v2013.1.614) and I've found a bug like the one described here. On my device, when I touch a button then drag off the button it throws the same error reported by Mohammad:

"Uncaught TypeError: Cannot call method 'call' of undefined at file:///storage/sdcard0/Icenium/com.telerik.latestVersion/kendo/js/kendo.mobile.min.js:10"

I've been able to reproduce this by opening up the supplied Kendo Mobile template project and updating kendo.mobile.min.js to v2013.1.614. Then connect and run on my android device. Touch a button (eg, 'reset' on the tabstrip-uiinteraction view) and drag off the button. Note that the tabstrip doesn't produce this error.

Is this the same bug you mentioned in you last post that will be fixed in the next build?

Cheers
Dean
0
Petyo
Telerik team
answered on 19 Jun 2013, 05:20 PM
Hi Dean,

I am afraid that the applied fix did not make it in the internal build from June 14th. Please try the one uploaded today (June 19th). 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dean
Top achievements
Rank 1
answered on 19 Jun 2013, 11:51 PM
Thanks Petyo, it's fixed now!
0
Mohammad
Top achievements
Rank 2
answered on 20 Jun 2013, 05:30 AM
Hi,
what is the latest build ? am a registred developer and logged in with my account but when i try to download it i get a kendoui.complete.2013.1.514.
0
Dean
Top achievements
Rank 1
answered on 20 Jun 2013, 05:37 AM
I asked the same question not long ago :-)

The answer I received is here http://www.kendoui.com/forums/mobile/listview/list-with-datasource-grouping.aspx#u3xeN4MKXkWKsNFdD7l5uQ

The latest build is Kendo UI Mobile v2013.1.619
0
Kiril Nikolov
Telerik team
answered on 20 Jun 2013, 09:21 AM
Hi Dean,

I am glad to
inform you that the problem is resolved now. The solution is posted in the latest internal build.

You could get the latest internal build of Kendo UI by following these steps:

Manage Products -> Kendo UI Mobile
Download Installer and other resources
Then go to "Latest Internal Builds" for Kendo UI Mobile
There you will find the latest internal build, which is currently 2013.1.619 and contains the fix.

Thank you again for reporting this.

Regards,
Kiril
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Button (Mobile)
Asked by
Mohammad
Top achievements
Rank 2
Answers by
Petyo
Telerik team
Mohammad
Top achievements
Rank 2
Dean
Top achievements
Rank 1
Kiril Nikolov
Telerik team
Share this question
or