This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit bfd12be794d7ed7b5839816601c0d13889203b4f Author: Benoit Tellier <[email protected]> AuthorDate: Tue Nov 3 08:37:39 2020 +0700 JAMES-3409 Delete MailboxPathV2 content based on MailboxPathV2 --- .../james/mailbox/cassandra/mail/migration/MailboxPathV3Migration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/migration/MailboxPathV3Migration.java b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/migration/MailboxPathV3Migration.java index afe5e63..a2b9e41 100644 --- a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/migration/MailboxPathV3Migration.java +++ b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/migration/MailboxPathV3Migration.java @@ -115,7 +115,7 @@ public class MailboxPathV3Migration implements Migration { private Mono<Void> migrate(CassandraIdAndPath idAndPath) { return mailboxDAO.retrieveMailbox(idAndPath.getCassandraId()) .flatMap(mailbox -> daoV3.save(mailbox) - .then(daoV2.delete(mailbox.generateAssociatedPath()))) + .then(daoV2.delete(idAndPath.getMailboxPath()))) .onErrorResume(error -> handleErrorMigrate(idAndPath, error)) .then(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
