Bug 305953 - Exported filters do not contain action
Summary: Exported filters do not contain action
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: filtering (show other bugs)
Version: 4.8.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-28 22:42 UTC by Kevin Clevenger
Modified: 2012-08-29 15:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Clevenger 2012-08-28 22:42:08 UTC
When exporting filters the export does not contain the associated action for that filter:
[Filter #16]
Applicability=0
AutomaticName=false
ConfigureShortcut=false
ConfigureToolbar=false
Enabled=true
Icon=system-run
StopProcessingHere=true
ToolbarName=SBR Storage
action-args-0=
action-name-0=transfer
actions=1
apply-on=check-mail,manual-filtering
contentsA=storage-list@example.com
fieldA=To
funcA=contains
identifier=z07Fiu6c55ZGGVlI
name=SBR Storage
operator=and
rules=1


Reproducible: Always

Actual Results:  
I'm guessing action-args-0= should have the destination folder as a value if the action is a transfer
Comment 1 Laurent Montel 2012-08-29 07:15:32 UTC
Could you look at in akonadi_mailfilter_agent what was action-args-0 please ?
Comment 2 Laurent Montel 2012-08-29 07:38:10 UTC
ok works here.
It returns "" if path is not valid in tree.
So for me it was not valid here.
Verify it and reopen if necessary.
Comment 3 Kevin Clevenger 2012-08-29 15:31:49 UTC
Hi,

It looks like I had some Akonadi issues. I reset the dB and rebooted and the filter export looks like it's working correctly now. The odd thing is that the paths were valid and it was filtering and moving messages it was just that the export was omitting the destination folder.

[Filter #16]
Applicability=0
AutomaticName=false
ConfigureShortcut=false
ConfigureToolbar=false
Enabled=true
Icon=system-run
StopProcessingHere=true
ToolbarName=SBR Storage
action-args-0=Company/Mailing Lists/SBR Storage
action-name-0=transfer
actions=1
apply-on=check-mail,manual-filtering
contentsA=storage-list@example.com
fieldA=To
funcA=contains
identifier=z07Fiu6c55ZGGVlI
name=SBR Storage
operator=and
rules=1