Open Bug 303738 Opened 19 years ago Updated 2 years ago

Midair collision message says CC changes will be undone

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

defect
Not set
minor

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

"This will cause all of the above changes to be overwritten, except for the
added comment(s)."

Added CC's, at least CC's added because a bug was marked as a dup, are also
preserved.  So the message should be "Except for added comment(s) and CC(s)".
See also bug 69447, "Make CC changes not cause midairs."
(In reply to comment #0)
> Added CC's, at least CC's added because a bug was marked as a dup, are also
> preserved.  

I just verified:  *all* CC's, not just dupe-added ones.

This is just a text-change request, right?
OS: Mac OS X 10.2 → All
Hardware: Macintosh → All
Attached patch maybe this works (obsolete) — Splinter Review
Assignee: create-and-change → timeless
Status: NEW → ASSIGNED
Attachment #275270 - Flags: review?(wicked)
Comment on attachment 275270 [details] [diff] [review]
maybe this works

>+        [% IF comments.size > start_at %]
>+          , except for the added comment(s)
>+          [% ", and " IF ccs_changed %]
>+        [% END %]
>+        [% IF ccs_changed %]
>+          , [% " and " IF comments.size > start_at %]
>+          changes to the cc list
>+        [% END %].

'and' is added twice if comments.size > start_at and ccs_changed = 1.
Attachment #275270 - Flags: review?(wicked) → review-
Any chance of an updated patch here?
Assignee: timeless → dkl
Attachment #275270 - Attachment is obsolete: true
Attachment #652786 - Flags: review?(LpSolit)
Comment on attachment 652786 [details] [diff] [review]
Patch to show that comments and cc list changes will be preserved in midair (v1)

>+[% ccs_changed = 0 %]
>+[% FOREACH operation = operations %]
>+  [% FOREACH change = operation.changes %]
>+    [%  IF change.fieldname == 'cc' %]
>+      [% ccs_changed = 1 %]
>+      [% LAST %]
>+    [% END %]
>+  [% END %]
>+[% END %]

It would be more effecient to do this check in process_bug.cgi itself as you are looking for this field as part of bug 69447 already.
Attachment #652786 - Flags: review?(LpSolit) → review-
Severity: normal → minor
Target Milestone: --- → Bugzilla 4.4
Adding 64997 as a blocker. When that patch is committed I will use build on the code changes to move these checks to process_bug.cgi

dkl
Depends on: 69447
Bugzilla 4.4 is now restricted to security fixes only.
Target Milestone: Bugzilla 4.4 → ---
Assignee: dkl → create-and-change
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: