Menu

#3 Wrong new message count

closed-fixed
None
5
2003-03-22
2003-03-09
No

Hi,
The new message count in FolderProxy class always
returns -1. This is because the Namespace for
unreadcount is NS_HTTPMAIL and not NS_DAV
(reference http://jhttpmail.sourceforge.net/httpmail.html\).
Changing the line
fp.m_nUnreadCount = Util.getIntValue
(elemProp.getChild("unreadcount",
JDAVMail.NS_DAV), -1);
to
fp.m_nUnreadCount = Util.getIntValue(elemProp.getChild
("unreadcount", JDAVMail.NS_HTTPMAIL ), -1);

Also the methods getNewMessageCount and
getUnreadMessageCount are not implemented in the
JDAVMailFolder. These can be easily impelmented in
the FolderProxy by returning the m_nUnreadCount.

Thanks for the great implementation.

Cheers,
Ajay

Discussion

  • Luc Claes

    Luc Claes - 2003-03-10
    • assigned_to: nobody --> lucclaes
     
  • Luc Claes

    Luc Claes - 2003-03-22

    Logged In: YES
    user_id=494564

    Fixed in the 0.9.004 snapshot. Thanks.

     
  • Luc Claes

    Luc Claes - 2003-03-22
    • status: open --> closed-fixed
     

Log in to post a comment.