Opush
  1. Opush
  2. OP-66

T#10350 A Sync with a broken event should not return an global error

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Normal Normal
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.2
    • Labels:
    • Story Points:
      6.5
    • Rank:
      6037
    • Sprint:
      Sprint

      Description

      A Sync with an event that can't be converted should not return a global failure but only a failure on the created event.

      Exception that is retrieved on each synchronization

      2014-05-15 14:10:13.083 [WARN ] {bitronix.tm.twopc.Preparer} [t/c/r/] executing transaction with 0 enlisted resource
      2014-05-15 14:10:13.126 [WARN ] {o.o.p.c.MSEventToObmEventConverterImpl} [t17636/cSync/r35459/toto@XXXX] The converter discards a duplicate deleted exception
      2014-05-15 14:10:13.128 [ERROR] {o.o.p.h.SyncHandler$$EnhancerByGuice$$4286a369} [t17636/cSync/r35459/toto@XXXX] Trying to add a moved exception where a deleted exception already exists
      org.obm.push.exception.ConversionException: Trying to add a moved exception where a deleted exception already exists
      	at org.obm.push.calendar.MSEventToObmEventConverterImpl.assertExceptionDoesntExistInRecurrence(MSEventToObmEventConverterImpl.java:790) ~[push-service-2.5.7.jar:na]
      	at org.obm.push.calendar.MSEventToObmEventConverterImpl.assertExceptionValidity(MSEventToObmEventConverterImpl.java:781) ~[push-service-2.5.7.jar:na]
      	at org.obm.push.calendar.MSEventToObmEventConverterImpl.fillEventException(MSEventToObmEventConverterImpl.java:191) ~[push-service-2.5.7.jar:na]
      	at org.obm.push.calendar.MSEventToObmEventConverterImpl.fillEventRecurrence(MSEventToObmEventConverterImpl.java:182) ~[push-service-2.5.7.jar:na]
      	at org.obm.push.calendar.MSEventToObmEventConverterImpl.convert(MSEventToObmEventConverterImpl.java:101) ~[push-service-2.5.7.jar:na]
      	at org.obm.push.calendar.EventConverterImpl.convert(EventConverterImpl.java:90) ~[push-service-2.5.7.jar:na]
      	at org.obm.push.calendar.CalendarBackend.convertMSObjectToObmObject(CalendarBackend.java:547) ~[push-module-2.5.7.jar:na]
      	at org.obm.push.calendar.CalendarBackend.updateEvent(CalendarBackend.java:500) ~[push-module-2.5.7.jar:na]
      	at org.obm.push.calendar.CalendarBackend.chooseBackendChange(CalendarBackend.java:456) ~[push-module-2.5.7.jar:na]
      	at org.obm.push.calendar.CalendarBackend.createOrUpdate(CalendarBackend.java:426) ~[push-module-2.5.7.jar:na]
      	at org.obm.push.ContentsImporter.importMessageChange(ContentsImporter.java:74) ~[push-module-2.5.7.jar:na]
      	at org.obm.push.handler.SyncHandler.updateServerItem(SyncHandler.java:339) ~[push-module-2.5.7.jar:na]
      	at org.obm.push.handler.SyncHandler.processClientModification(SyncHandler.java:317) ~[push-module-2.5.7.jar:na]
      	at org.obm.push.handler.SyncHandler.processClientCommands(SyncHandler.java:282) ~[push-module-2.5.7.jar:na]
      	at org.obm.push.handler.SyncHandler.process(SyncHandler.java:157) ~[push-module-2.5.7.jar:na]
      	at org.obm.push.handler.WbxmlRequestHandler.process(WbxmlRequestHandler.java:128) [push-module-2.5.7.jar:na]
      	at org.obm.push.handler.SyncHandler$$EnhancerByGuice$$4286a369.CGLIB$process$6(<generated>) [guice-3.0.jar:na]
      	at org.obm.push.handler.SyncHandler$$EnhancerByGuice$$4286a369$$FastClassByGuice$$d9110f3e.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.annotations.technicallogging.TechnicalLoggingInterceptor.invoke(TechnicalLoggingInterceptor.java:68) [annotations-2.5.7.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$$4286a369.process(<generated>) [guice-3.0.jar:na]
      	at org.obm.push.ActiveSyncServlet.processActiveSyncMethod(ActiveSyncServlet.java:260) [push-module-2.5.7.jar:na]
      	at org.obm.push.ActiveSyncServlet.doPost(ActiveSyncServlet.java:177) [push-module-2.5.7.jar:na]
      	at org.obm.push.ActiveSyncServlet$$EnhancerByGuice$$7e507cd9.CGLIB$doPost$2(<generated>) [guice-3.0.jar:na]
      	at org.obm.push.ActiveSyncServlet$$EnhancerByGuice$$7e507cd9$$FastClassByGuice$$c4d8d43e.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.annotations.technicallogging.TechnicalLoggingInterceptor.invoke(TechnicalLoggingInterceptor.java:68) [annotations-2.5.7.jar:na]
      	at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72) [guice-3.0.jar:na]
      	at org.obm.annotations.transactional.TransactionalInterceptor.managerTransaction(TransactionalInterceptor.java:88) [annotations-2.5.7.jar:na]
      	at org.obm.annotations.transactional.TransactionalInterceptor.invoke(TransactionalInterceptor.java:74) [annotations-2.5.7.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.ActiveSyncServlet$$EnhancerByGuice$$7e507cd9.doPost(<generated>) [guice-3.0.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [servlet-api-2.5.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api-2.5.jar:na]
      	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) [guice-servlet-3.0.jar:na]
      	at org.obm.servlet.filter.qos.QoSFilter.handleRequest(QoSFilter.java:113) [qos-filter-2.5.7.jar:na]
      	at org.obm.servlet.filter.qos.QoSFilter.doFilter(QoSFilter.java:94) [qos-filter-2.5.7.jar:na]
      	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
      	at org.obm.push.ActiveSyncRequestFilter.doFilter(ActiveSyncRequestFilter.java:78) [push-module-2.5.7.jar:na]
      	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
      	at org.obm.push.AuthenticationFilter.doFilter(AuthenticationFilter.java:92) [push-module-2.5.7.jar:na]
      	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
      	at org.obm.push.PushContinuationFilter.doFilter(PushContinuationFilter.java:73) [push-module-2.5.7.jar:na]
      	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
      	at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:118) [jetty-continuation-7.6.10.v20130312.jar:7.6.10.v20130312]
      	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) [guice-servlet-3.0.jar:na]
      	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) [guice-servlet-3.0.jar:na]
      	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.Server.handle(Server.java:326) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) [jetty-6.1.24.jar:6.1.24]
      	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) [jetty-util-6.1.24.jar:6.1.24]
      

        Issue Links

          Activity

            People

            • Assignee:
              Antoine DUPRAT
              Reporter:
              Matthieu EXT_BAECHLER
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile