comment text appears multiple times with field.comment= joining them when users click too fast

Bug #516898 reported by Parth Malwankar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

I just added the following comment to a bug in bzr-hg:
https://bugs.launchpad.net/bzr-hg/+bug/510549/comments/2

My comment text seems to be duplicated twice separated by "?field.comment="
While I can't be sure what led to this, I suspect it because I ended up clicking the "Add attachment or patch" link multiple times (I thought nothing was happening till I saw some messages on the status bar).
I am using Firefox 3.5.7 on ubuntu 9.10.

Revision history for this message
Deryck Hodge (deryck) wrote :

I only see one comment from you on bug 510549.

Changed in malone:
status: New → Incomplete
Revision history for this message
Parth Malwankar (parthm) wrote :

There is only one comment. However, the comment text is repeated 3 times in the one comment block. If you search for "?field.comment=" its exactly the same text repeated three times. "?field.comment=" seems to be separating the text which I had entered only once.

Revision history for this message
Parth Malwankar (parthm) wrote :

I can confirm that the behavior was because of clicking "Add attachment or patch"
twice. I ended up doing this again today and the same behavior can be seen in
this comment:

https://bugs.launchpad.net/bzr/+bug/526825/comments/7

I don't think the status should be Incomplete. It should be reproducible.

Deryck Hodge (deryck)
Changed in malone:
status: Incomplete → Triaged
importance: Undecided → Low
tags: added: attachments comments
Revision history for this message
Robert Collins (lifeless) wrote :

This appears to happen fairly often (I poked around in staging).

The messages are received as one on the server, so the client is sending a confused ajax request; I suspect a bug in the javascript.

Changed in launchpad:
importance: Low → High
tags: added: ajax js
summary: - comment text appears multiple times in bug tracker
+ comment text appears multiple times with field.comment= joining them
+ when users click too fast
Jelmer Vernooij (jelmer)
tags: added: bzr-hg
Curtis Hovey (sinzui)
tags: removed: bzr-hg js
tags: added: javascript
removed: ajax
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.