Ticket #1484506 (closed Bugs: fixed)
Attachment gone when restoring saved draft e-mail without body
| Reported by: | R@… | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.1.1 |
| Component: | PHP backend | Version: | 0.1-rc1 |
| Severity: | critical | Keywords: | Attachment disappears |
| Cc: |
Description
Hi,
first of all let me say that I appreciate your work! There seems to be a misshandling in the code, when restoring a draft e-mail whith an attachment but no text in the mail body: the attachment is gone (not listet on the left any more). I use "Create a new message", enter a recipient and add one attachment. I do not enter text in the mail body. Then I save the message with "Save this draft".
Going back to "E-Mail" on the top navi and selecting the Draft-Folder on the left displays the saved e-mail in the list with a paper-clip indicating, that there is an atttachment with the e-mail. But when I dobbleclick the e-mail it opens and the list of attachments on the left is empty.
I tried this with several different attachments of a small size -> same result.
When I look in the temp-directory on the web-server the attachment gets saved as - in this case rcmAttmnt1319tp. The attachment is in the temp-directory until I dobbleclick the formerly saved e-mail to open it again. Then the attachment disappears from the temp-folder.
Please note that this is working correctly when text is entered in th body of the e-mail: then the attachment gets displayed on the left after restoring the draft e-mail.
I looked through the open roundcube bugs but couldn't find a similar bug.
My system is a standard debian etch with PHP 5.2.0, Apache 2.2.3.
Thank you,
Regards Ralph
