Opush
  1. Opush
  2. OP-185

Android > 4.4 cannot modify or delete a contact

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0, 3.0.1
    • Fix Version/s: backlog
    • Labels:
      None
    • Environment:

      Moto G Android 4.4.4

    • Story Points:
      13
    • Rank:
      6794

      Description

      Pre-conditions

      Reproduction steps

      1. As usera with ui, create a new contact in any addressbook
      2. As usera with Moto G (Android 4.4.4), synchronize the contact
      3. As usera with Moto G (Android 4.4.4), modify or delete the contact then synchronize

      Current behavior

      1. contact is not modified/deleted in ui NOK

      Expected behavior

      1. contact is modified/deleted in db and can be seen in uiOK

      Additional informations

      The behavior is almost random, as it seems that the device choses a "main address book" to perform its changes after the initial "FolderSync" command. Sometimes it use the good one, sometimes a bad one.

      10:23:02.520 [INFO ] {REQUEST.FULL} [t19516/cSync/r15866/thilaire@linagora.com] <?xml version="1.0" encoding="UTF-8"?><Sync>
      <Collections>
      <Collection>
      <SyncKey>aa692c1b-1529-48ba-aa80-512a04174ab0</SyncKey>
      <CollectionId>6491</CollectionId>
      <DeletesAsMoves/>
      <GetChanges/>
      <WindowSize>10</WindowSize>
      <Options>
      <BodyPreference>
      <Type>1</Type>
      <TruncationSize>200000</TruncationSize>
      </BodyPreference>
      </Options>
      <Commands>
      <Delete>
      <ServerId>6492:80931</ServerId>
      </Delete>
      </Commands>
      </Collection>
      </Collections>
      </Sync>
      
      10:23:02.530 [WARN ] {o.o.p.protocol.data.SyncAnalyser} [t19516/cSync/r15866/thilaire@linagora.com] Error with a command
      org.obm.push.exception.activesync.InvalidServerId: item 6492:80931 doesn't belong to collection 6491
              at org.obm.push.protocol.data.SyncAnalyser.checkServerId(SyncAnalyser.java:188) [push-core-3.0.7-SNAPSHOT.jar:na]
              at org.obm.push.protocol.data.SyncAnalyser.getCollection(SyncAnalyser.java:135) [push-core-3.0.7-SNAPSHOT.jar:na]
              at org.obm.push.protocol.data.SyncAnalyser.analyseSync(SyncAnalyser.java:99) [push-core-3.0.7-SNAPSHOT.jar:na]
              at org.obm.push.handler.SyncHandler.analyzeRequest(SyncHandler.java:220) [push-core-3.0.7-SNAPSHOT.jar:na]
              at org.obm.push.handler.SyncHandler.process(SyncHandler.java:163) [push-core-3.0.7-SNAPSHOT.jar:na]
              at org.obm.push.handler.WbxmlRequestHandler.process(WbxmlRequestHandler.java:128) [push-core-3.0.7-SNAPSHOT.jar:na]
              at org.obm.push.handler.SyncHandler$$EnhancerByGuice$$e2a960a9.CGLIB$process$7(<generated>) [guice-3.0.jar:na]
              at org.obm.push.handler.SyncHandler$$EnhancerByGuice$$e2a960a9$$FastClassByGuice$$1380be4.invoke(<generated>) [guice-3.0.jar:na]
              at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228) [guice-3.0.jar:na]
              at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72) [guice-3.0.jar:na]
              at org.obm.push.technicallog.TechnicalLoggingInterceptor.invoke(TechnicalLoggingInterceptor.java:70) [technical-log-3.0.7-SNAPSHOT.jar:na]
              at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72) [guice-3.0.jar:na]
              at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:52) [guice-3.0.jar:na]
              at org.obm.push.handler.SyncHandler$$EnhancerByGuice$$e2a960a9.process(<generated>) [guice-3.0.jar:na]
              at org.obm.push.ActiveSyncServlet.processActiveSyncMethod(ActiveSyncServlet.java:253) [push-core-3.0.7-SNAPSHOT.jar:na]
              at org.obm.push.ActiveSyncServlet.doPost(ActiveSyncServlet.java:176) [push-core-3.0.7-SNAPSHOT.jar:na]
              at org.obm.push.ActiveSyncServlet$$EnhancerByGuice$$e8d3e838.CGLIB$doPost$3(<generated>) [guice-3.0.jar:na]
              at org.obm.push.ActiveSyncServlet$$EnhancerByGuice$$e8d3e838$$FastClassByGuice$$7348c74e.invoke(<generated>) [guice-3.0.jar:na]
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Thomas HILAIRE
              Reporter:
              Stephane COLSON
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: