Skip to main content

Bug Tracker

Side navigation

#8045 closed bug (wontfix)

Opened January 25, 2011 06:32AM UTC

Closed January 25, 2011 03:24PM UTC

Last modified March 09, 2012 06:57AM UTC

Jquery form broken on 1.5RC1

Reported by: dl@software.co.il Owned by: jaubourg
Priority: low Milestone: 1.next
Component: ajax Version: 1.5rc1
Keywords: Cc:
Blocked by: Blocking:
Description

Testing Jquery Form using the 1.5 release candidate Jquery RC1

Get the following error on a SUBMIT

Uncaught TypeError: Object function ( selector, context ) {

The jQuery object is actually just the init constructor 'enhanced'

return new jQuery.fn.init( selector, context, rootjQuery );

} has no method 'handleError'

on jquery.form.js:387

catch(e){

log('error caught:',e);

ok = false;

xhr.error = e;

$.handleError(s, xhr, 'error', e); Line 387

}

Not clear to me what the root cause of the problem is.

Attachments (0)
Change History (6)

Changed January 25, 2011 01:42PM UTC by rwaldron comment:1

component: unfiledajax
owner: → jaubourg
priority: undecidedblocker
status: newassigned

I'm marking this a blocker, but it may very well be an issue that the plugin has to address.

Changed January 25, 2011 03:16PM UTC by jaubourg comment:2

jQuery.handleError was never documented and doesn't exist anymore in 1.5RC1.

Changed January 25, 2011 03:24PM UTC by jaubourg comment:3

resolution: → wontfix
status: assignedclosed

I've looked deeper into the code and it seems the plugin implements an iframe transport the very very hard way.

It could easily feature-detect if jQuery.ajaxTransport is present and create the iframe transport the easier way in that case.

Changed January 28, 2011 01:13PM UTC by jitter comment:4

priority: blockerlow

The author has been notified of this issue. You can track progress on this here: https://github.com/malsup/form/issues#issue/56

Changed February 07, 2011 07:27PM UTC by Christopher Lenz <cmlenz@gmail.com> comment:5

Replying to [comment:3 jaubourg]:

I've looked deeper into the code and it seems the plugin implements an iframe transport the very very hard way. It could easily feature-detect if jQuery.ajaxTransport is present and create the iframe transport the easier way in that case.

I would be very interested in how exactly you'd implement an iframe transport the easy way. Do you have some corresponding sample code lying around by any chance?

Thanks.

Changed June 26, 2011 05:11AM UTC by anonymous comment:6

Still broken as of 1.6. Good Job!