<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>416369</bug_id>
          
          <creation_ts>2020-01-17 08:15:49 +0000</creation_ts>
          <short_desc>attachments lost draft message</short_desc>
          <delta_ts>2020-01-25 08:16:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmail2</product>
          <component>composer</component>
          <version>5.13.1</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Peer Frank">peer.frank</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>montel</cc>
          
          <cf_commitlink>https://commits.kde.org/messagelib/c3828a873a75ed7f54465e7d6acf88e81720d46f</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1903321</commentid>
    <comment_count>0</comment_count>
    <who name="Peer Frank">peer.frank</who>
    <bug_when>2020-01-17 08:15:49 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1903323</commentid>
    <comment_count>1</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2020-01-17 08:44:01 +0000</bug_when>
    <thetext>I confirm it !
I will investigate soon.
Thanks for reporting it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1903379</commentid>
    <comment_count>2</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2020-01-17 13:09:11 +0000</bug_when>
    <thetext>Git commit c3828a873a75ed7f54465e7d6acf88e81720d46f by Laurent Montel.
Committed on 17/01/2020 at 13:08.
Pushed by mlaurent into branch &apos;release/19.12&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1905280</commentid>
    <comment_count>3</comment_count>
    <who name="Peer Frank">peer.frank</who>
    <bug_when>2020-01-25 08:16:04 +0000</bug_when>
    <thetext>Thank you :-)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>