Firebug console shows incorrect response

Bug #221899 reported by
Affects Status Importance Assigned to Milestone
firebug (Ubuntu)

Bug Description

Binary package hint: firebug

Using Latest Firebug installed through synaptic with Firefox 3 - and a new profile.

When you make an ajax request, using POST the request is captured correctly in the firebug console, but the response appears to be the response with no params to the request URL.

Using Google Calendar

POST 268ms

Request Headers
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Content-Type application/x-www-form-urlencoded; charset=UTF-8
Content-Length 335
[Cookies removed for my security]

Post (Which is correct):

Response (Which is not actually what the browser received):
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>411 Length Required</title>
body {font-family: arial,sans-serif}
div.nav {margin-top: 1ex}
div.nav A {font-size: 10pt; font-family: arial,sans-serif}
span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight: bold}
div.nav A,span.big {font-size: 12pt; color: #0000cc}
div.nav A {font-size: 10pt; color: black}
A.l:link {color: #6f6f6f}
A.u:link {color: green}
var rc=411;
<body text=#000000 bgcolor=#ffffff>
<table border=0 cellpadding=2 cellspacing=0 width=100%><tr><td rowspan=3 width=1% nowrap>
<b><font face=times color=#0039b6 size=10>G</font><font face=times color=#c41200 size=10>o</font><font
 face=times color=#f3c518 size=10>o</font><font face=times color=#0039b6 size=10>g</font><font face=times
 color=#30a72f size=10>l</font><font face=times color=#c41200 size=10>e</font>&nbsp;&nbsp;</b>
<tr><td bgcolor=#3366cc><font face=arial,sans-serif color=#ffffff><b>Error</b></td></tr>
<H1>Length Required</H1>
POST requests require a <code>Content-length</code> header.
<table width=100% cellpadding=0 cellspacing=0><tr><td bgcolor=#3366cc><img alt="" width=1 height=4><

This is a FIREBUG issue, as the actual web page loads fine and you can use Google Reader (and other ajax apps), its just that firebug reports the response incorrectly!

I have also tried firebug from SVN branch rev 585 - same problem

Revision history for this message (phil-phil-taylor) wrote :

Description: Ubuntu 8.04
Release: 8.04

 apt-cache policy firefox firebug
  Installed: 3.0~b5+nobinonly-0ubuntu3
  Candidate: 3.0~b5+nobinonly-0ubuntu3
  Version table:
 *** 3.0~b5+nobinonly-0ubuntu3 0
        500 hardy/main Packages
        100 /var/lib/dpkg/status
  Installed: 1.2~b21+svn573-0ubuntu1
  Candidate: 1.2~b21+svn573-0ubuntu1
  Version table:
 *** 1.2~b21+svn573-0ubuntu1 0
        500 hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message (phil-phil-taylor) wrote :

Confirmed Fixed in firebug branch 1.2 svn


Changed in firebug:
status: New → Fix Committed
Revision history for this message
Rory McCann (rorymcc) wrote :

Firebug 1.2~b21+svn573-0ubuntu1 does work, but the console just doesn't work. If you type things, nothing comes up.

Revision history for this message
Branko Ivanović (branko-ivanovic) wrote :

Still doesn't work. Looks like Firebug is caching response and after first post request in console (which is correct), Firebug displays that cached response for all other requests of the same type .

Revision history for this message
Jyrki Pulliainen (jyrki-pulliainen) wrote :

I'm using svn revision 682 and the Length Required -problem seems to be gone. Maybe the Ubuntu package should be updated to a newer version?

Revision history for this message
John Vivirito (gnomefreak) wrote :

Not sure what version is still in Hardy but latest package should fix it. As for backporting this not sure if it is going to be, at least until Karmic+1 if you want it backported once i get done with it please file a back port bug on it. closing this bug since its old and you would need to file a backport bug for latest version to be pushed to HardyIintreped/Jaunty

Changed in firebug (Ubuntu):
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers