Posting a comment in rekonq does not insert it into the page

Bug #799491 reported by Davor Cubranic on 2011-06-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Unassigned

Bug Description

Posting a comment with rekonq (version 0.7.0, the default browser in KUbuntu Natty does not update the page properly. Instead of the comment being inserted, all I get is an "[object Object]" placeholder.

I'm attaching a screenshot showing what the page looks like after a comment is posted.

Davor Cubranic (cubranic) wrote :

Test posting a comment to capture the XHR traffic...

Davor Cubranic (cubranic) wrote :
Download full text (5.0 KiB)

Console output:

launchpad.js:351 TypeError: Result of expression 'select_menu' [null] is not an object
launchpad.js:2 XHR finished loading: "https://bugs.launchpad.net/api/devel/bugs/633916".
launchpad.js:2 XHR finished loading: "https://bugs.launchpad.net/api/devel/launchpad/+bug/633916/comments/9".
launchpad.js:2 XHR finished loading: "https://bugs.launchpad.net/api/devel/launchpad/+bug/633916/comments/9?0.47002096520736814".

==========================================

XHR:
---------------------------------------------------------------------------------------------------
Request URL:https://bugs.launchpad.net/api/devel/bugs/799491
Request Method:POST
Status Code:201 Created

Request Headers
Cache-Control:max-age=0
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Origin:https://bugs.launchpad.net
Referer:https://bugs.launchpad.net/launchpad/+bug/799491
User-Agent:Mozilla/5.0 (X11; U; Linux i686; en-CA) AppleWebKit/533.3 (KHTML, like Gecko) rekonq Safari/533.3
X-Requested-With:XMLHttpRequest

Form Data
ws.op:newMessage
content:Test posting a comment to capture the XHR traffic...

Response Headers
cache-control:no-cache="Set-Cookie,Set-Cookie2"
connection:Keep-Alive
content-encoding:gzip
content-length:20
content-type:text/plain;charset=utf-8
date:Sun, 19 Jun 2011 17:46:28 GMT
expires:Sat, 26 Jul 1997 05:00:00 GMT
keep-alive:timeout=15, max=100
location:https://bugs.launchpad.net/api/devel/launchpad/+bug/799491/comments/2
pragma:no-cache
server:zope.server.http (HTTP)
vary:Accept,Accept-Encoding
via:1.1 wildcard.launchpad.net
x-content-type-warning:guessed from content
x-lazr-notifications:[]
x-powered-by:Zope (www.zope.org), Python (www.python.org)

Content (empty)

---------------------------------------------------------------------------------------------------

Request URL:https://bugs.launchpad.net/api/devel/launchpad/+bug/799491/comments/2
Request Method:GET
Status Code:200 OK

Request Headers
Accept:application/json
Cache-Control:max-age=0
Referer:https://bugs.launchpad.net/launchpad/+bug/799491
User-Agent:Mozilla/5.0 (X11; U; Linux i686; en-CA) AppleWebKit/533.3 (KHTML, like Gecko) rekonq Safari/533.3
X-Requested-With:XMLHttpRequest

Response Headers
connection:Keep-Alive
content-encoding:gzip
content-length:377
content-type:application/json
date:Sun, 19 Jun 2011 17:46:28 GMT
etag:"bf6c952d6bce4d441627a2e54ae28dd8e6be20ba-c582a18c28a06676d8173f3d604f229aa5493218"
keep-alive:timeout=15, max=99
server:zope.server.http (HTTP)
vary:Accept,Accept-Encoding
via:1.1 wildcard.launchpad.net
x-lazr-notifications:[]
x-powered-by:Zope (www.zope.org), Python (www.python.org)

Content
{"parent_link": null, "bug_attachments_collection_link": "https://bugs.launchpad.net/api/devel/launchpad/+bug/799491/comments/2/bug_attachments", "web_link": "https://bugs.launchpad.net/launchpad/+bug/799491/comments/2", "content": "Test posting a comment to capture the XHR traffic...", "http_etag": "\"bf6c952d6bce4d441627a2e54ae28dd8e6be20ba-c582a18c28a06676d8173f3d604f229aa5493218\"", "owner_link": "https://bugs.launchpad.net/api/devel/~cubranic", "self_link": "https://bugs.launchpad.net/api/devel/launchpad/+bug/799491/comments/2", "date_created": "20...

Read more...

huwshimi (huwshimi) on 2011-06-20
tags: added: browser javascript rekonq
Changed in launchpad:
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers