[OP-129] The "days to sync" option is not respected Created: 04/Nov/14  Updated: 13/Nov/14  Resolved: 07/Nov/14

Status: Closed
Project: Opush
Component/s: None
Affects Version/s: 3.0.2
Fix Version/s: 3.0.3

Type: Bug Priority: Normal
Reporter: Thomas HILAIRE Assignee: Thomas HILAIRE
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Rank: 6534

 Description   

Reproduction steps
usera has a 2 days old email in its INBOX
usera synchronize its INBOX by choosing only 1 day to sync

Current behavior
usera synchronizes its 2 days old email

Expected behavior
usera synchronizes zero email



 Comments   
Comment by Jenkins Continuous Integration Server [ 06/Nov/14 ]

ABORTED: Integrated in opush-master #167
OP-129 Initializing snapshot has no UIDNEXT (thilaire: c4d457faf36f04e7b02c9f2b82cc0099ea0c5ae9)

  • push-mail/src/test/java/org/obm/push/minig/imap/impl/MessageSetUtilsTest.java
  • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
  • push-mail-beans/pom.xml
  • push-mail/src/main/java/org/obm/push/minig/imap/impl/MessageSetUtils.java
  • push-mail-beans/src/test/java/org/obm/push/mail/bean/SnapshotTest.java
  • push-mail-beans/src/main/java/org/obm/push/mail/bean/Snapshot.java
  • integration-testing/opush/src/test/java/org/obm/opush/command/sync/SyncHandlerWithBackendTest.java
  • push-mail/src/main/java/org/obm/push/mail/MailBackendSyncData.java
  • push-mail-beans/src/test/java/org/obm/push/mail/bean/BeansTest.java
Comment by Jenkins Continuous Integration Server [ 06/Nov/14 ]

SUCCESS: Integrated in opush-master-3.0 #8
OP-129 Initializing snapshot has no UIDNEXT (thilaire: 9b37933de6c87c2c979fea9df6b2f8c5d433c2dd)

  • push-mail-beans/pom.xml
  • push-mail-beans/src/test/java/org/obm/push/mail/bean/SnapshotTest.java
  • push-mail-beans/src/main/java/org/obm/push/mail/bean/Snapshot.java
  • push-mail/src/test/java/org/obm/push/minig/imap/impl/MessageSetUtilsTest.java
  • push-mail/src/main/java/org/obm/push/mail/MailBackendSyncData.java
  • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
  • integration-testing/opush/src/test/java/org/obm/opush/command/sync/SyncHandlerWithBackendTest.java
  • push-mail/src/main/java/org/obm/push/minig/imap/impl/MessageSetUtils.java
  • push-mail-beans/src/test/java/org/obm/push/mail/bean/BeansTest.java
Comment by Thomas HILAIRE [ 07/Nov/14 ]

Impacts: Initial sync of an email folder
QA: the steps to reproduce

Comment by Jenkins Continuous Integration Server [ 07/Nov/14 ]

ABORTED: Integrated in opush-master #170
OP-129 Update documentation (thilaire: 841c251c60f2ac3d5eca9749f7b2795ca97d819e)

  • push-server/src/main/asciidoc/upgrades.adoc
  • push-server/src/main/asciidoc/opush.adoc
Comment by Jenkins Continuous Integration Server [ 07/Nov/14 ]

UNSTABLE: Integrated in opush-master #171
Revert "OP-129 Initializing snapshot has no UIDNEXT" (thilaire: e0a8981456646f126d311955abad61e9f51ca054)

  • integration-testing/opush/src/test/java/org/obm/opush/command/sync/SyncHandlerWithBackendTest.java
  • push-mail-beans/src/test/java/org/obm/push/mail/bean/SnapshotTest.java
  • push-mail-beans/src/test/java/org/obm/push/mail/bean/BeansTest.java
  • push-mail-beans/src/main/java/org/obm/push/mail/bean/Snapshot.java
  • push-mail-beans/pom.xml
  • push-mail/src/main/java/org/obm/push/minig/imap/impl/MessageSetUtils.java
  • push-mail/src/test/java/org/obm/push/minig/imap/impl/MessageSetUtilsTest.java
  • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
  • push-mail/src/main/java/org/obm/push/mail/MailBackendSyncData.java
    OP-129 Initializing snapshot has no UIDNEXT (thilaire: 05a9305ace7ceca7c0c9267f88771c3034018071)
  • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
  • push-mail/src/test/java/org/obm/push/minig/imap/impl/MessageSetUtilsTest.java
  • push-mail-beans/src/main/java/org/obm/push/mail/bean/Snapshot.java
  • integration-testing/opush/src/test/java/org/obm/opush/command/sync/SyncHandlerWithBackendTest.java
  • push-mail-beans/pom.xml
  • push-mail-beans/src/test/java/org/obm/push/mail/bean/BeansTest.java
  • push-mail-beans/src/test/java/org/obm/push/mail/bean/SnapshotTest.java
  • push-mail/src/main/java/org/obm/push/minig/imap/impl/MessageSetUtils.java
  • push-mail/src/main/java/org/obm/push/mail/MailBackendSyncData.java
Comment by Stephane COLSON [ 13/Nov/14 ]

OK with version opush-3.0.3~rc2; Tested with

  • Nexus 7 (Android 4.4.3)
  • Samsung Galaxy SII (Android 2.3.3)
  • iPAD (iOS 8.1)
  • Nokia Lumia 920 (Windows Phone 8.1)

See OBMFULL-6164 for new Issue created

Generated at Sun Aug 25 18:35:58 CEST 2019 using JIRA 6.1.1#6155-sha1:7188aeec9a6b57d61ea04c52f235f15f55c105e2.