DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24475

mail block: Error in Folder mock class

           Summary: mail block: Error in Folder mock class
           Product: Cocoon 2
           Version: 2.1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I ran into another error trying to run the Cocoon Webmail sample.
The folders were always shown as empty to me though there were messages in it.
>From the error.log i foun out that there were a ReadOnlyFolderException thrown.
I tracked this down to the javax.mail.Folder class.
The static fields are declared wrong. They should read:

        public static final int READ_ONLY = 1;
        public static final int READ_WRITE = 2;
        public static final int HOLDS_FOLDERS = 2;
        public static final int HOLDS_MESSAGES = 1;

Reply via email to