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 <bt...@linagora.com> on 2014/12/18 16:20:32 UTC

[PATCH] MAILBOX-205

Hi,

I was working on MAILBOX-146
<https://issues.apache.org/jira/browse/MAILBOX-146> to add a batch size
where needed in the StoreMessageManager ( setFlags,
deleteMarkedInMailbox, recent, copy, move ) and I add a look at the code
of the StoreMailboxManager.

I found a call to a method named *copyTo* in an other method named
*moveMessages*...

I might have missed something, but I think this might create a bug when
moveBatchSize is not null....

You will find as an attachment a patch solving this problem by replacing
the call to copyTo by moveTo in moveMessages.

Sincerly yours,

Benoit Tellier



Re: [PATCH] MAILBOX-205

Posted by Eric Charles <er...@apache.org>.
Can you attach the patch on a jira for review ? (if not yet done)


On 12/18/2014 04:20 PM, Benoit Tellier wrote:
> Hi,
>
> I was working on MAILBOX-146
> <https://issues.apache.org/jira/browse/MAILBOX-146> to add a batch
> size where needed in the StoreMessageManager ( setFlags,
> deleteMarkedInMailbox, recent, copy, move ) and I add a look at the
> code of the StoreMailboxManager.
>
> I found a call to a method named *copyTo* in an other method named
> *moveMessages*...
>
> I might have missed something, but I think this might create a bug
> when moveBatchSize is not null....
>
> You will find as an attachment a patch solving this problem by
> replacing the call to copyTo by moveTo in moveMessages.
>
> Sincerly yours,
>
> Benoit Tellier
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org