Bug 416369

Summary: attachments lost draft message
Product: [Applications] kmail2 Reporter: Peer Frank <peer.frank>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: major CC: montel
Priority: NOR    
Version: 5.13.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peer Frank 2020-01-17 08:15:49 UTC
SUMMARY
attachments of message saved in draft folder are lost

STEPS TO REPRODUCE
1. edit a message with (more than one) attachments
2. save as draft
3. reopen for editing or saving in outbox

OBSERVED RESULT
The reopened message is losing all but one attachments (the list of attachments was complete when saved)

EXPECTED RESULT
the list of attachments should not change

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Tumbleweed 20200111
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.65
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Comment 1 Laurent Montel 2020-01-17 08:44:01 UTC
I confirm it !
I will investigate soon.
Thanks for reporting it
Comment 2 Laurent Montel 2020-01-17 13:09:11 UTC
Git commit c3828a873a75ed7f54465e7d6acf88e81720d46f by Laurent Montel.
Committed on 17/01/2020 at 13:08.
Pushed by mlaurent into branch 'release/19.12'.

Fix Bug 416369 - attachments lost draft message

FIXED: 5.13.2

M  +5    -3    messagecomposer/src/attachment/attachmentmodel.cpp

https://commits.kde.org/messagelib/c3828a873a75ed7f54465e7d6acf88e81720d46f
Comment 3 Peer Frank 2020-01-25 08:16:04 UTC
Thank you :-)