After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764976 - Failed message move processed as successful
Failed message move processed as successful
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Mail
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-04-13 02:50 UTC by mjs
Modified: 2016-04-14 12:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mjs 2016-04-13 02:50:23 UTC
Selecting a large number of messages (somewhere around 4096) and moving them from Inbox to a new folder fails after some time, but no error message appears.

The messages disappear from the message list for the origin box, but do not disappear from the server. Presumably, if I purge deleted messages at some point, those messages would be deleted from the server as well and lost forever.

The expected behavior would be that an error notification would indicate that the moved failed because there were too many messages and the deleted flag would be cleared from the unmoved messages.
Comment 1 Milan Crha 2016-04-14 12:27:06 UTC
Thanks for a bug report. I was able to reproduce this even with something like 2.500 messages. The problem was that the code didn't check whether individual message move failed, and it processed it as it succeeded. I added the check for the individual message move failure, then a code to move message by 500 the most, then some progress feedback when the messages are moved in the chunks of the 500. The stable branch fix is slightly changed, to not add the new translatable string, but it's otherwise the same as the one in the development version.

Created commit d88d6b3 in ews master (3.21.1+)
Created commit b3e211e in ews gnome-3-20 (3.20.2+)