<?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>103287</bug_id>
          
          <creation_ts>2005-04-05 15:11:19 +0000</creation_ts>
          <short_desc>KMail expire time arbitrarily changed</short_desc>
          <delta_ts>2007-09-14 12:17:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>FreeBSD Ports</rep_platform>
          <op_sys>FreeBSD</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Joshua Tinnin">krinklyfig</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          
          
          <cf_commitlink></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>331973</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Tinnin">krinklyfig</who>
    <bug_when>2005-04-05 15:11:19 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.4.0)
Installed from:    FreeBSD Ports
Compiler:          gcc version 3.4.2 [FreeBSD] 20040728 standard i386 architecture build, qt-3.3.4, w/ CPUTYPE?=athlon-xp in my /etc/make.conf
OS:                FreeBSD

This is with a folder nested about four deep ... If I set it to delete the messages, and the expire date to 180 days, read and unread, both checked, it will change to 5580 days read, checked, 30 days unread, not checked, once I switch to another folder then switch back. It appears this is not an issue if a folder is selected in the &quot;Move to&quot; selection, even though it isn&apos;t used to delete messages permanently. This was blank by default when I opened the dialog. I can&apos;t reproduce this and get the &quot;Move to&quot; selection to be blank anymore, though I suspect that is what is causing the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>471915</commentid>
    <comment_count>1</comment_count>
    <who name="Steve-Kai Vyska">chaos.lord</who>
    <bug_when>2006-09-22 12:29:11 +0000</bug_when>
    <thetext>Hallo,

I have the same error found on my system. Interesing is, that if you create an folder, than set it to the number of days you want, close Kmail and resart it, it is gone for this folder as long as you don&apos;t change anything, then it starts againe.

Steve</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480674</commentid>
    <comment_count>2</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2006-10-28 19:04:45 +0000</bug_when>
    <thetext>SVN commit 599816 by aacid:

Need to store config when changing units, if not very bad things happen
BUGS: 103287


 M  +2 -0      kmfolder.cpp  


--- branches/KDE/3.5/kdepim/kmail/kmfolder.cpp #599815:599816
@@ -700,6 +700,7 @@
 {
   if (units &gt;= expireNever &amp;&amp; units &lt; expireMaxUnits)
     mUnreadExpireUnits = units;
+    mStorage-&gt;writeConfig();
 }
 
 void KMFolder::setReadExpireAge( int age )
@@ -714,6 +715,7 @@
 {
   if (units &gt;= expireNever &amp;&amp; units &lt;= expireMaxUnits)
     mReadExpireUnits = units;
+    mStorage-&gt;writeConfig();
 }
 
 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>