[jira] [Closed] (GERONIMO-6891) Fix IMAPFolder.renameTo reporting failure after a successful rename
"Richard Zowalla (Jira)" <[email protected]> Sat, 18 Jul 2026 08:54:00 +0000 (UTC)
| Newsgroups | gmane.comp.java.geronimo.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/GERONIMO-6891?page=3Dcom.atlas=
sian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Zowalla closed GERONIMO-6891.
-------------------------------------
Resolution: Fixed
> 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)=20
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> 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.
> =C2=A0
--
This message was sent by Atlassian Jira
(v8.20.10#820010)