Bug 2598 - Actions can move locked messages
Summary: Actions can move locked messages
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Actions (show other bugs)
Version: 3.8.0
Hardware: PC Windows NT
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2012-02-09 07:16 UTC by Abhay S. Kushwaha
Modified: 2012-06-12 08:43 UTC (History)
0 users

See Also:


Attachments

Description Abhay S. Kushwaha 2012-02-09 07:16:52 UTC
Summary
=========
If a message is locked, it cannot be deleted, moved to another folder, etc. However, an action with appropriate filter action can still do it.

Steps to reproduce
====================
1. Lock a message
2. Go to Configurations -> Actions
3. Add/Save an action with a move "Filter action", for example:

   Menu Name: Move It
   Command: %as{move "#mh/Mailbox/testbox"}
   
   where "testbox" is a folder.
4. Select message
5. Run the action. Eg: Tools -> Actions -> Move It
   ("Move It" is the action we added in #3 above)

Observed Behaviour
====================
The locked message will be moved to the target folder, "testbox" in our case.

Expected Behaviour
====================
The locked message should not be allowed to be moved since it's locked.
Comment 1 users 2012-02-10 22:39:34 UTC
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.claws-mail.org/tracker/

2012-02-10 [pawel]	3.8.0cvs28

	* src/filtering.c
		Fix bug #2598 'Actions can move locked messages'

Note You need to log in before you can comment on or make changes to this bug.