You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <ji...@apache.org> on 2020/02/20 02:53:00 UTC

[jira] [Commented] (MAILBOX-389) Renaming mailboxes does not seem to be supported

    [ https://issues.apache.org/jira/browse/MAILBOX-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17040592#comment-17040592 ] 

René Cordier commented on MAILBOX-389:
--------------------------------------

The work on https://issues.apache.org/jira/browse/JAMES-3057 that pushed on completely separating the logic between create and rename a mailbox on the mapper level allowed to identify the issue.

There was a bug on list maiboxes function for maildir, that was making it crashing if user didn't have an inbox  : https://github.com/linagora/james-project/pull/3108/commits/6c3cac0d8ad605156f06aa50a3972f4eae10cbf7

The rename tests are now working with `FullUserMaildirMailboxManagerTest`.  

However the ones on `DomainUserMaildirMailboxManagerTest` are still not working fully, but I believe it's because the setup is for domain users, while the test contract suite is using users without domains, creating some inconsistencies in some checks if the existing mailbox to rename belongs to the user or not. Might need to rewrite some of those tests for a user with a domain to check...

> Renaming mailboxes does not seem to be supported
> ------------------------------------------------
>
>                 Key: MAILBOX-389
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-389
>             Project: James Mailbox
>          Issue Type: Improvement
>          Components: maildir
>            Reporter: Benoit Tellier
>            Priority: Major
>
> See MailboxManaer::rename mailbox disabled test...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org