Closed Bug 565880 Opened 14 years ago Closed 14 years ago

Do not throw an error when obsoleting an already obsolete attachment

Categories

(Bugzilla :: Attachments & Requests, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

Attachments

(1 file)

When you attach a new file and mark another one as obsolete, you get an error if someone else marked the other attachment as obsolete just before you did. This doesn't make sense. Just attach the new file and silently ignore the other attachment as it's already obsolete.
Attached patch patch, v1Splinter Review
Attachment #445336 - Flags: review+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Attachment.pm
modified template/en/default/global/code-error.html.tmpl
Committed revision 7167.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: