Closed (fixed)
Project:
Privatemsg
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2010 at 15:10 UTC
Updated:
29 Jun 2010 at 08:20 UTC
Jump to comment: Most recent file
Hi
I found that privatemsg_attachment submodule (from Berdir, founded in some old issue, can't find it again)
don't work with more attachments than 1. In this case, only last attachment is shown and attached to private message.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | attachments_multiple_files2.patch | 5.28 KB | berdir |
| #1 | attachments_multiple_files.patch | 3.75 KB | berdir |
Comments
Comment #1
berdirThe attachments module is now part of the -dev release, so you don't need to look for it in some old issue :)
Confirmed the bug, try the attached patch. I was not able to write a test for this since multiple files doesn't seem to by supported by simletest.
Comment #3
berdir#1: attachments_multiple_files.patch queued for re-testing.
Comment #5
igorik commentedWould I test it although the notice is that patch fails? Is it what you wrote you I was not able to write a test for this?
Comment #6
berdirI have no idea why the test fails, I can't reproduce it locally.
Yes, you can try the patch.
Comment #7
berdir#1: attachments_multiple_files.patch queued for re-testing.
Comment #9
igorik commentedHi Berdir, the patch works nice and multiple attchements are now correctly sent and shown.
Thank you.
Comment #10
janwalhof commentedThank you Berdir. Your patch in #1 made me happy today.
Regards,
Jan Walhof
Comment #11
berdirI could now finally reproduce the test fails, this patch should fix them. I have however now clue why they suddently start appearing because of this patch.
Comment #12
berdirCommited and fixed in 6.x-2.x-dev.