Skip to main content

Bug Tracker

Side navigation

#9938 closed bug (invalid)

Opened July 29, 2011 02:31PM UTC

Closed August 21, 2011 08:07AM UTC

Last modified March 14, 2012 10:55AM UTC

jQuery.ajaxTransport function is is not working in BlackBerry OS5

Reported by: kevin.burke.xig@fmr.com Owned by: kevin.burke.xig@fmr.com
Priority: undecided Milestone: None
Component: ajax Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

Hi,

The jQuery.ajaxTransport function is not working in BlackBerry OS5.

This was working with jquery 1.4.4 and is now broken in jQuery 1.6.2.

The Problem occurs on this line of code in the jQuery.ajaxTransport function

Attach handlers for all browsers

script.onload = script.onreadystatechange = function( _, isAbort ) {

Blackberry browsers for older OS's(< 6.0) don't fire with onload events or doesn't change readyState of script.

This breaks the getJson function in JQuery on BlackBerry OS5.

Here is a more information on the problem:

http:stackoverflow.com/questions/4783452/how-to-add-script-element-dynamically-on-blackberry-browser.

Thanks

Attachments (0)
Change History (8)

Changed July 29, 2011 04:09PM UTC by kevin.burke.xig@fmr.com comment:1

This problem occurs on BlackBerry Emulators and BlackBerry Devices

Changed July 31, 2011 01:05PM UTC by jaubourg comment:2

component: unfiledajax
owner: → kevin.burke.xig@fmr.com
status: newpending

I don't remember any polling code in 1.4.4, are you absolutely certain this was working with 1.4.4?

A reduced test on jsfiddle would be appreciated nonetheless so that we could test for this.

Also, do we support this version of BlackBerry OS?

Changed July 31, 2011 02:21PM UTC by rwaldron comment:3

jQuery Mobile isn't supporting ajax navigation in older ( <6.0 ) Blackberry: http://jquerymobile.com/gbs/

This seems to imply egregious problems with ajax in Blackberry 5 and lower

Changed August 03, 2011 09:44AM UTC by kevin.burke.xig@fmr.com comment:4

status: pendingnew

Yes. I'm 100% certain it works with 1.4.4. I'll attempt to write a test case later on today

thanks

Changed August 05, 2011 01:50PM UTC by dmethvin comment:5

As rwaldron says, jQuery Mobile isn't supporting BB OS5 so it seems like this may be a wontfix.

Changed August 06, 2011 11:34AM UTC by jaubourg comment:6

status: newpending

Replying to [comment:5 dmethvin]:

As rwaldron says, jQuery Mobile isn't supporting BB OS5 so it seems like this may be a wontfix.

If it actually worked in 1.4.4, there may be a problem at our end that prevents mobile from supporting it. Though, again, I'd be very surprised if it worked in 1.4.4, provided the problem really is related to what the OP linked to (but I've been surprised before).

Changed August 21, 2011 08:07AM UTC by trac-o-bot comment:7

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed October 13, 2011 02:45AM UTC by dan@charbs.com comment:8

I know the tickets closed, but I've also noticed that it works with v1.4.4 and not the lest version v1.6.4

While I can understand the point that jQueryMobile isn't supported in < BB OS5.. this is still a change in core jQuery and should at least be explained.