This project is archived and is in readonly mode.

#131 ✓invalid
Spider.007

Request.onFailure not working?

Reported by Spider.007 | June 15th, 2008 @ 12:38 PM

The current Request.onFailure is as follows:

onFailure: function(){
	this.fireEvent('complete').fireEvent('failure', this.xhr);
},

This seems te be related to the fact that my onFailure event is not triggered even though the request gets a 404 response. My code works fine when I change the above to:

	this.fireEvent('failure', this.xhr);

Am I missing a something in my code or is this a bug [or maybe a documentation problem]? My onRequest is triggered just fine.

Comments and changes to this ticket

  • Jan Kassens

    Jan Kassens October 5th, 2008 @ 06:01 PM

    • Assigned user changed from “Valerio” to “Jan Kassens”
    • State changed from “new” to “invalid”
    • Milestone cleared.
    • Tag set to docs, request

    cant confirm this bug, please add a testcase.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages