Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2192 by yuzi...@gmail.com: Duplicate posts when clicking [Add comment]
http://code.google.com/p/reviewboard/issues/detail?id=2192

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*       reviewbo...@googlegroups.com                             *

What version are you running?
Reviewboard 1.6 RC2

What's the URL of the page containing the problem?
http://path.to.reviewboard/r/<number>/

What steps will reproduce the problem?
(Screenshots attached, follow along)
[0001.png] Visit your review URL (e.g. http://path.to.reviewboard/r/<number>/)
[0002.png] Click "Add comment" and type a comment
[0003.png] Click [OK] or press Ctrl+Enter
[0004.png] Double-click your newly created comment OR click the pencil icon
[0005.png] Edit your comment to something else
[0006.png] Click [OK] or press Ctrl+Enter
[0007.png] At this point, your original comment should be gone, having been replaced by your new comment.
[0008.png] Click [Publish]

What is the expected output? What do you see instead?

At this point, only your NEW comment should be posted. There should be no trace of the old comment.
However...
[0009.png] Notice that the e-mail from reviewboard illustrates that BOTH comments were in fact posted, and in opposite order to each other. This suggests some sort of copy-on-write behavior where atomicity should have been otherwise violated... [0010.png] Refreshing the reviewboard webpage shows the same thing. Both comments are now visible, even though we really only intended to make one.

What operating system are you using? What browser?
Verified on the following browsers:
  chrome 12.0.742.124
  Firefox 5.0
  Opera 11.50 Build 1074

Verified on the following operating systems:
  Windows 7
  Ubuntu Linux

Please provide any additional information below.


Attachments:
        0001.png  64.4 KB
        0002.png  60.3 KB
        0003.png  60.7 KB
        0004.png  63.7 KB
        0005.png  61.0 KB
        0006.png  60.9 KB
        0007.png  64.1 KB
        0008.png  64.5 KB
        0009.png  103 KB
        0010.png  62.8 KB

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to