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 "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/03/11 05:07:00 UTC
[jira] [Closed] (JAMES-3513) Wrong UID dispatched on the EventBus
for StoreMessageIdManager::setInMailboxes
[ https://issues.apache.org/jira/browse/JAMES-3513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3513.
---------------------------------
Resolution: Fixed
Merged
> Wrong UID dispatched on the EventBus for StoreMessageIdManager::setInMailboxes
> ------------------------------------------------------------------------------
>
> Key: JAMES-3513
> URL: https://issues.apache.org/jira/browse/JAMES-3513
> Project: James Server
> Issue Type: Bug
> Components: mailbox
> Affects Versions: master
> Reporter: Benoit Tellier
> Priority: Major
> Fix For: 3.6.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Looking at the (internal) linagora bugtracker for the James server I found:
> {code:java}
> Given msg1 in mbx1 with uid 12 and in mbx2 with uid 58
> When I set it in mbx3
> Then two deletion events are dispatched, one in mbx1 with uid 12 ok, one in mbx2 and uid 12.
> {code}
> Which can lead to random message deletion in the search index (for instance) when a message is removed from more than one mailbox in JMAP.
> I then took the few minutes to add a test case and fix the logic.
> I should definitely audit our internal bug tracker and open relevant bugs here too, so that people can help and fix them.
--
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