[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-dev
Subject:    [jira] [Updated] (MAILBOX-205) Messages get copied instead of moved when moveBatchSize is set in Sto
From:       "Tellier Benoit (JIRA)" <jira () apache ! org>
Date:       2015-01-20 17:11:34
Message-ID: JIRA.12762590.1418913917000.124974.1421773894760 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/MAILBOX-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Tellier Benoit updated MAILBOX-205:
-----------------------------------
    Attachment: MAILBOX-205.patch

Here is the patch solving the problem :

It simply remplaces the wrong call to copyTo to a call to moveTo.

> Messages get copied instead of moved when moveBatchSize is set in \
>                 StoreMailboxManager
> -------------------------------------------------------------------------------------
>  
> Key: MAILBOX-205
> URL: https://issues.apache.org/jira/browse/MAILBOX-205
> Project: James Mailbox
> Issue Type: Bug
> Environment: Any
> Reporter: Tellier Benoit
> Attachments: MAILBOX-205.patch
> 
> 
> I was working on 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....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic