| Bug #33331 | Email attachments with equals filenames - cannot view | ||
|---|---|---|---|
| Submitted: | 18 Dec 2007 12:11 | Modified: | 14 Feb 2008 18:54 |
| Reporter: | Magnus Olstad Hansen | Email Updates: | |
| Status: | No Feedback | Impact on me: | |
| Category: | Eventum | Severity: | S3 (Non-critical) |
| Version: | 2.1 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[18 Dec 2007 12:12]
Magnus Olstad Hansen
More accurate synopsis :)
[14 Jan 2008 18:54]
Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 2.1.1, and inform about the results.
[15 Feb 2008 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".

Description: When trying to view one of two (or more) attachments with equal filenames in an email (this particular email was tied to a issue) Eventum won't show the attachment at all. The reason for it is that MimeHelper::getAttachment() return an empty array(). How to repeat: Send an email with two (or more) attachments with the same filename to an existing issue. See the issue, click the email, try to view the attachments. Suggested fix: A quick fix for me was to change the test i getAttachments() from: if (count($details) == 1) { ...to: if (count($details) >= 1) { ...which will make Eventum show the first of the attachments with equal filenames instead of nothing. I suppose the correct way of solving it would be that the CID was included to get_attachments.php - but I didn't have time to investigate that.