[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to