Closed
Bug 69447
Opened 24 years ago
Closed 12 years ago
Make CC changes not cause midairs.
Categories
(Bugzilla :: Creating/Changing Bugs, enhancement, P4)
Bugzilla
Creating/Changing Bugs
Tracking
()
RESOLVED
FIXED
Bugzilla 4.4
People
(Reporter: CodeMachine, Assigned: dkl)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [wanted-bmo][people:cc] midair)
Attachments
(1 file, 1 obsolete file)
2.25 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
It would be nice if CC changes didn't cause midairs, similar to the way voting
works.
Comment 1•24 years ago
|
||
But then I could read an entire bug and miss a new comment while CCing myself :(
Reporter | ||
Comment 2•24 years ago
|
||
Hmm, maybe. But that's currently true of voting.
Also we should clash if either person is adding or removing someone who's not
themselves, so doing this would be quite difficult.
Reporter | ||
Updated•24 years ago
|
Target Milestone: --- → Future
Comment 3•23 years ago
|
||
-> Bugzilla product, Changing Bugs component, reassigning.
Assignee: tara → myk
Component: Bugzilla → Creating/Changing Bugs
Product: Webtools → Bugzilla
Whiteboard: [people:cc]
Version: other → unspecified
Updated•23 years ago
|
Whiteboard: [people:cc] → [people:cc] midair
Comment 4•22 years ago
|
||
> But then I could read an entire bug and miss a new comment while CCing myself
I didn't see mention of comments and CCs not causing midair collisions. If you
CC yourself you shouldn't miss a comment (that *should* cause a collision), only
somebody else who's JUST CCing themself too... (Do you care about missing
somebody else adding themselves to the CC list?)
Updated•18 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Updated•18 years ago
|
Target Milestone: Future → ---
Comment 5•18 years ago
|
||
(In reply to comment #2)
> Also we should clash if either person is adding or removing someone who's not
> themselves, so doing this would be quite difficult.
I don't agree with this; if the CC from the other person was added because the other person duped a bug over, or for any reason, I don't want that to cause a collision with my comment -- why should I care if that new person also gets my comment? I *expect* that.
And if person A removes person B, why is that different from removing herself? Barring vandalism, any removal from the list should be unimportant -- if I care whether a comment reaches a particular user, I scan the list of who got notified and, if necessary, drop a note.
The vandalism case should be handled by notification to the removee.
(Maybe that's the case now?)
Updated•18 years ago
|
Assignee: myk → create-and-change
Updated•18 years ago
|
Priority: -- → P4
Comment 9•14 years ago
|
||
CC changes should not cause mid-air collision interstitials. Instead, the new CCs should get emails showing what happened to the bug as if they had been CCed a few moments earlier.
Updated•14 years ago
|
Blocks: contrib-engagement
Comment 10•13 years ago
|
||
I think this is being made more complicated by considering all edge cases. CC is a list. You can add to list. You can remove from list. There is a negligible actual conflict when both of those are nearly simultaneous, but that is conceptually ignorable. Anything on top of that is another feature. What is desired is, especially for new and active bugs, if I try to, e.g., add myself as a CC and get a collision...so I navigate back, refresh the page, and try again. If the bug is really active, I rinse and repeat again. This is what is annoying. The only possible conflict here is if someone adds me and I add myself, in which case should just not care -- I'm already added, job done.
Comment 11•13 years ago
|
||
Related to this, the mid-air collision message currently says that "the above changes" will be overridden (except for comments), but that "except" also includes the CC list, apparently. (I had a mid-air collision and proceeded with my changes, and the CC list change got preserved as well, which seems like the correct behavior but which means the message needs changing.)
Assignee | ||
Comment 13•12 years ago
|
||
(In reply to Josh Triplett from comment #11)
> Related to this, the mid-air collision message currently says that "the
> above changes" will be overridden (except for comments), but that "except"
> also includes the CC list, apparently. (I had a mid-air collision and
> proceeded with my changes, and the CC list change got preserved as well,
> which seems like the correct behavior but which means the message needs
> changing.)
This part is being addressed by bug 303738 actually.
dkl
Assignee | ||
Comment 14•12 years ago
|
||
This skips doing a midair collision of the previous user's changes were only one or more of comment/cc/attachment. It throws a note on the updated bug page saying that a prior comment/cc/attachment was detected.
dkl
Assignee: create-and-change → dkl
Status: NEW → ASSIGNED
Attachment #652948 -
Flags: review?(LpSolit)
Updated•12 years ago
|
Whiteboard: [people:cc] midair → [wanted-bmo][people:cc] midair
Comment 15•12 years ago
|
||
(In reply to David Lawrence [:dkl] from comment #14)
> Created attachment 652948 [details] [diff] [review]
> Patch to disallow midairs if only cc/comment/attachment made previously (v1)
>
> This skips doing a midair collision of the previous user's changes were only
> one or more of comment/cc/attachment. It throws a note on the updated bug
> page saying that a prior comment/cc/attachment was detected.
i think we should still show the midair collision page even if the changes were only adding a comment or attachment.
in other words, only CC changes should be except from triggering midair changes.
Comment 16•12 years ago
|
||
Comment on attachment 652948 [details] [diff] [review]
Patch to disallow midairs if only cc/comment/attachment made previously (v1)
>+ # Do not midair if previous changes made were just cc/comments/attachemnts
>+ $do_midair = 1 if $change->{'fieldname'} ne 'cc';
I didn't look at the patch carefully at all. But at first glance, what the comment above and the text below say are not consistent with the check done above, as you only look at 'cc'. And I have to agree with glob: adding/editing an attachment and adding a comment should show the midair collision page. I often midaired with someone else writing a comment at the same time I was writing one, and in many cases, this last comment had an impact of what I wanted to say, which forced me to reword, agree or disagree with what was just said, or simply to cancel my comment because everything was already said in the previous comment.
>+ Your changes were submitted even though this bug had been updated since
>+ you last loaded it. The previous changes were one or more comments,
>+ changes to the cc list, or one or more attachments were added.
About CC changes, I don't think there is any need to mention that someone (un-)CC'ed himself. This information is really not important nor useful. So I wouldn't display any message at all.
For the next dev cycle (aka 4.5), I would like Bugzilla to either periodically or just when clicking the "Submit" button to look at the current state of the bug, and warn the user if the bug has been edited meanwhile. I guess this could be useful. But that's another story (and bug). :)
Attachment #652948 -
Flags: review?(LpSolit) → review-
Assignee | ||
Comment 17•12 years ago
|
||
New patch only skips midair if just changes to the bugs cc list were made.
One thing I noticed (which I fill file sep. bug for) is that when no bug field changes were made, only comments, and then we include activity/table.html.tmpl in midair.html.tmpl. With that it says "No changes have been made to this bug yet" which may or may not be true. So we need to word it differently when used in midair.html.tmpl.
dkl
Attachment #652948 -
Attachment is obsolete: true
Attachment #653484 -
Flags: review?(LpSolit)
Comment 18•12 years ago
|
||
Comment on attachment 653484 [details] [diff] [review]
Patch to disallow midairs if only cc change made previously (v2)
>+ # Always sort midoair collision comments oldest to newest,
typo: s/midoair/midair/
>+ $do_midair = 1 if scalar @$comments > $start_at;
As this check is faster than looping over operations, I would do it first, and only loop over operations if $do_midair is still 0.
r=LpSolit
Attachment #653484 -
Flags: review?(LpSolit) → review+
Updated•12 years ago
|
Assignee | ||
Comment 19•12 years ago
|
||
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified process_bug.cgi
Committed revision 8386.
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/4.4
modified process_bug.cgi
Committed revision 8384.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Blocks: CVE-2013-1733
Updated•11 years ago
|
Flags: testcase?
You need to log in
before you can comment on or make changes to this bug.
Description
•