[Bug 256627] New: Filter import doesn't work when you change default setting in "Apply this filter to incoming messages"

gerlos gerlosgm at gmail.com
Thu Nov 11 18:19:45 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=256627

           Summary: Filter import doesn't work when you change default
                    setting in "Apply this filter to incoming messages"
           Product: kmail
           Version: 1.13.5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: gerlosgm at gmail.com


Created an attachment (id=53331)
 --> (http://bugs.kde.org/attachment.cgi?id=53331)
this exported rule can't be imported on machines different from the original
one

Version:           1.13.5 (using KDE 4.5.2) 
OS:                Linux

I'm using Kmail on two computers. Same version on both. One them is running
Mandriva 2010.1 and KDE SC 4.5.3 and the other one is running Kubuntu 10.04 and
KDE SC 4.5.2.
I exported filter rules from one installation (clicking on "export" in the
"Filter Rules" window), and tried to import them to the second installation
(clicking on "import" in the "Filter Rules" window). 

I found that Kmail displays me (and imports) only rules that have the advanced
option "Apply this filter to incoming messages" set to "from all accounts".
Kmail just doesn't import the filters that have this setting set to "from
checked accounts only". 

I can confirm that missing rules were present in the exported file, so it seems
a problem on the import side.

If I change the setting from "from checked accounts only" to "from all
accounts", the rules are imported correctly.

Filters are also always imported correctly when you re-import them on the same
Kmail installation.

Workaround: go to the "Advanced" tab in the rule configuration and just change
the "Apply this filter to incoming messages", choosing "from all accounts". Do
it for every filter you want to export to another machine.

Reproducible: Always

Steps to Reproduce:
1. Create a filter rule in the "filter rules" window.
2. Go to the Advanced tab and change the "Apply this filter to incoming
messages" from "from all accounts" to "from checked accounts only"
3. Click on "Export", select file name and click OK or select just some rules
from the check list.
4. Copy the file from the first computer to the second one.
5. Open the "Filter rules" window on the second computer
6. Click on "import" and select the copied file
7. the "Select filters" window is void and no rule is imported when you click
"OK".

The same happens also if you swap source and destionation computers.

Actual Results:  
No rule is displayed neither imported.

Expected Results:  
It should display and import the filter rules that are saved in the exported
file.

OS: Linux (i686) release 2.6.32-26-generic-pae
Compiler: cc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list