[asterisk-bugs] [Asterisk 0013234]: Incorrect behavior when moving messages to/from New/Old folders

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 4 10:43:04 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13234 
====================================================================== 
Reported By:                jaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13234
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 130693 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-04 10:43 CDT
Last Modified:              2008-08-04 10:43 CDT
====================================================================== 
Summary:                    Incorrect behavior when moving messages to/from
New/Old folders
Description: 
When a message is moved from a folder (such as Work) to the New folder
(IMAP INBOX) it is not marked as unread, thus it looks as though it is in
the Old folder. Moving a message from the New folder (UNREAD) to the Old
folder (or vice versa) does not change its read/unread status so in effect
the move does not happen.

This patch adds a method imap_mark_read() that can be called to set a
message to either read or unread, based on the flag used.  This method is
called when moving a message into the New or Old folder to be sure that the
message flag is set correctly.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-04 10:43 jaroth         Asterisk Version          => SVN             
2008-08-04 10:43 jaroth         SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2008-08-04 10:43 jaroth         SVN Revision (number only!) => 130693          
======================================================================




More information about the asterisk-bugs mailing list