Open Bug 105276 Opened 23 years ago Updated 2 years ago

Duplicate attachment file dialog does not show up

Categories

(MailNews Core :: Composition, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bugzilla, Unassigned)

References

Details

When you try to attach twice the same attachment, we are suppose to show an
alert. But this one does not show up because of a JS error. The strings we are
looking for  are missing: DuplicateFileErrorDlogTitle &
DuplicateFileErrorDlogMessage
QA Contact: sheelar → esther
Target Milestone: --- → mozilla1.0
Target Milestone: mozilla1.0 → Future
QA Contact: esther → trix
Blocks: 154188
taking all of varada's bugs.
Assignee: varada → sspitzer
Product: MailNews → Core
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Filter on "Nobody_NScomTLD_20080620"
QA Contact: stephend → composition
Product: Core → MailNews Core
still on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081113 Shredder/3.0b1pre Mnenhy/0.7.5.666 - Build ID: 20090226032557
Current Trunk checks for duplicate attachments and by design, just continues without error message (which I think is reasonable):

http://mxr.mozilla.org/comm-central/source/mail/components/compose/content/MsgComposeCommands.js#3681

3680     if (!(attachment && attachment.url) ||
3681         DuplicateFileAlreadyAttached(attachment.url))
3682       continue;

However, I wonder how this interacts with the various more or less unpredictable states that a file attachment is going through (also depending on the method of attaching), along the lines of Bug 378046 Comment 60.
OS: Windows 2000 → All
Hardware: x86 → All
Target Milestone: Future → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.