You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by "quantranhong1999 (via GitHub)" <gi...@apache.org> on 2026/06/22 03:42:51 UTC

[PR] [FIX] StoreMailboxManager:renameSubMailboxes should change namespace [james-project]

quantranhong1999 opened a new pull request, #3069:
URL: https://github.com/apache/james-project/pull/3069

   When renaming a mailbox across namespaces, `StoreMailboxManager` preloads the mailbox and its children then renames them through `renameSubMailboxes`.
   
   That helper updated the mailbox name and user but not the namespace, causing id-based renames across namespaces to keep the old namespace in storage.
   
   Update the namespace during rename and add a regression test covering both the renamed mailbox and one child mailbox.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [FIX] StoreMailboxManager:renameSubMailboxes should change namespace [james-project]

Posted by "chibenwa (via GitHub)" <gi...@apache.org>.
chibenwa commented on PR #3069:
URL: https://github.com/apache/james-project/pull/3069#issuecomment-4766495289

   Can we backport this is 3.9.x onto https://github.com/apache/james-project/pull/3067
   
   Thanks ;-)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [FIX] StoreMailboxManager:renameSubMailboxes should change namespace [james-project]

Posted by "Arsnael (via GitHub)" <gi...@apache.org>.
Arsnael merged PR #3069:
URL: https://github.com/apache/james-project/pull/3069


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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