Richard Zowalla created GERONIMO-6891:
-----------------------------------------
Summary: Fix IMAPFolder.renameTo reporting failure after a
successful rename
Key: GERONIMO-6891
URL: https://issues.apache.org/jira/browse/GERONIMO-6891
Project: Geronimo
Issue Type: Task
Security Level: public (Regular issues)
Reporter: Richard Zowalla
Assignee: Richard Zowalla
Fix For: Mail_2.1_1.0.3
After a server-side-successful RENAME, renameTo() refreshed the folder
status using the old mailbox name; servers rightly answer that with NO
(the mailbox no longer exists), and the swallowed exception made
renameTo() return false. Callers acting on that result (like the
Jakarta Mail TCK, which renames the test mailbox back only when
renameTo() reports success) ended up desynchronized from the server -
in the TCK this cascaded into ~90 subsequent test failures.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)