Open
Bug 591181
Opened 14 years ago
Updated 2 years ago
Edit as new - error when attaching data:image/jpeg;base64 image in signature if auto-save is enabled
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: distdev, Unassigned)
References
(Blocks 1 open bug)
Details
User-Agent: GT-I7500
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2
I have HTML signature with image
<img src="data:image/jpeg;base64, .......... " />
When I try to select old message and edit it as a new, sometimes next error appears
Sending of message failed. There was an error attaching . Please check if you have access to the file.
When I compose new message with this signature - all is OK.
Reproducible: Sometimes
Steps to Reproduce:
1. Right click on existing message with signature with data: image
2. Select Edit as new
3. Put some changes to the message
4. Try to send
Actual Results:
sometimes next error appears
Sending of message failed. There was an error attaching . Please check if you have access to the file.
Expected Results:
Norma sending of message
Comment 1•14 years ago
|
||
What error ?
(In reply to comment #1)
> What error ?
"Sending of message failed. There was an error attaching . Please check if you
have access to the file."
Comment 3•14 years ago
|
||
Andrey,
Could you turn off "auto-save" in composition options, and see if the problem goes away.
(In reply to comment #3)
> Andrey,
> Could you turn off "auto-save" in composition options, and see if the problem
> goes away.
I've turned off auto-save and it seems that issue goes away.
Comment 5•12 years ago
|
||
Andrey, does this still reproduce?
Summary: Edit as new - error when attaching data:image/jpeg;base64 image in signature → Edit as new - error when attaching data:image/jpeg;base64 image in signature if auto-save is enabled
Updated•12 years ago
|
Comment 6•12 years ago
|
||
IIRC, "Sending failed even though Saving draft" is already resolved except in rare situation.
If Drafts folder is not IMAP folder(POP3 or Local Folers) and yu enable auto-compact with mail.purge.ask=false, it's perhaps same problem as bug 817245.
To bug opener, read pointed bugs, and check image location, Order Received column value etc., please, if you experience your problem again.
Comment 7•12 years ago
|
||
(In reply to Andrey from comment #0)
> I have HTML signature with image
> <img src="data:image/jpeg;base64, .......... " />
> When I try to select old message and edit it as a new, sometimes next error appears
> Sending of message failed. There was an error attaching . Please check if
> you have access to the file.
> When I compose new message with this signature - all is OK.
> Reproducible: Sometimes
> Steps to Reproduce:
> 1. Right click on existing message with signature with data: image
> 2. Select Edit as new
> 3. Put some changes to the message
> 4. Try to send
> Actual Results:
> sometimes next error appears
> Sending of message failed. There was an error attaching . Please check if
> you have access to the file.
If (a) embed image of data; URI in existent mail, (b) embed image signature of data: URI by mail sender in existent mail, Tb keeps the data: URI during mail composition by Edit As New, Forward in inline, Edit draft.
In this case, the "data: UIR and image data for it" is in HTML source, Tb won't access outside of the composing mail, and Tb saves as-is the data: URI in HTML source upon draft save, send later, send.
So, it's not affected by delete/move of referred mail.
In contrast to it, if (c) signature for the mail composition by "signature file of data: URI", Tb keeps the "data: URI" during the composition, but Tb changed it to "cid: URI and image/xxx part in multipart/related" upon draft save, send later, send.
In this case, because "data: URL" is kept during composition and it's data in currently editing HTML source, delete of signature file, delete/move of relevant mail doesn't affect on the mail composition. So "error attaching image" can't occur in this case, unless problem of this bug is "loss of data: URL and corresponding image data during composition".
However, once the composed mail is saved as draft and the draft mail is edited again, used signature is changed to "cid: URI and image/xxx part in multipart/related". So, problem of bug 453196 occurs if IMAP Drafts older and problem of bug 817245 occurs if local Drafts folder. And, if bug 453196 or bug 817245, phenomenon looks next error dialog in recent Tb nightly.
> (Save as Draft) Unable to save your message as draft.
> (Send Later) Unable to save your message in order to send it later.
> (Send) Sending of message failed.
> There was an error attaching. Please check if you have access to the file
To bug opener:
Does "sometimes" in next your comment mean "when saved as draft and edited draft mail"?
> Actual Results:
> sometimes next error appears
> Sending of message failed. There was an error attaching. ...
If no, did the error occur on which image data in original HTML mail?
What "Image location:" was set for image data in composed mail when your problem occurred?
Updated•12 years ago
|
Blocks: attach-paradigm-fail
I confirm the bug with version 31.2.0.
It's not only for "Edit as new", it's also for "Reply".
If I reply to an email with image and auto-save is activated, Thunderbird hangs on "Attaching".
If I reply very fast, before auto-saving, the email is sent.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•