Am Sonntag, den 12.11.2006, 17:26 +0000 schrieb robert burrell donkin: > there an issue on evolution startup: StatusCommand is called before a > mailbox has been selected. however, reading the specification at the > bottom (cool), i don't think that status should act upon the selected > mailbox at all but instead the specified one. > > 1 do i have this right?
After a quick review of RFC: you're perfectly right. :-) StatusCommand can be ran without having any mailbox selected. It says that it even (can but) should NOT be used on the selected Mailbox. > 2 is there any way to create a test for this in StatusCommand within a > reasonable time frame? Have a look at the org.apache.james.imapserver.client and the org.apache.james.imapserver.handler.session packages in the test folder. There is a little framework for running high-level tests on commands. I like to use the tests because it's quite annoying to always use telnet or force the client to expose the desired behavior. :-) > (i'll create a patch but it'll also include the extra logging support > i've added which allowed me to debug this one from the logs.) No problem. I think I'll have time tomorrow to test it. BTW: For running and debugging IMAP server directly in eclipse or your favorite IDE you can use the class ImapServerLauncher. Thanks for testing and the patch! Joachim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
