Uploaded image for project: 'PUBLIC - Liferay Sync'
  1. PUBLIC - Liferay Sync
  2. SYNC-278

More Robust DLSync Handling

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.2 RC3
    • Fix Version/s: 1.0.3 RC4
    • Component/s: General
    • Labels:
      None
    • Environment:
      All

      Description

      If there are invalid items in the DL Sync List the entire list fails. This failure repeats each time the DLSync's are pulled down and won't allow Sync to ever sync.

      09 maj 2012 10:50:09,948 ERROR [BaseEvent:130] [ DLSyncs.values.version ]: Can not convert java.lang.String into java.lang.Double
      flexjson.JSONException: [ DLSyncs.values.version ]: Can not convert java.lang.String into java.lang.Double
      at flexjson.ObjectBinder.cannotConvertValueToTargetType(ObjectBinder.java:162)
      at flexjson.factories.DoubleObjectFactory.instantiate(DoubleObjectFactory.java:16)
      at flexjson.ObjectBinder.bind(ObjectBinder.java:86)
      at flexjson.ObjectBinder.bindIntoObject(ObjectBinder.java:139)
      at flexjson.factories.BeanObjectFactory.instantiate(BeanObjectFactory.java:17)
      at flexjson.ObjectBinder.bind(ObjectBinder.java:86)
      at flexjson.ObjectBinder.bindIntoCollection(ObjectBinder.java:101)
      at flexjson.factories.ListObjectFactory.instantiate(ListObjectFactory.java:13)
      at flexjson.ObjectBinder.bind(ObjectBinder.java:86)
      at flexjson.ObjectBinder.bindIntoObject(ObjectBinder.java:139)
      at flexjson.factories.BeanObjectFactory.instantiate(BeanObjectFactory.java:17)
      at flexjson.ObjectBinder.bind(ObjectBinder.java:86)
      at flexjson.JSONDeserializer.deserialize(JSONDeserializer.java:184)
      at com.liferay.sync.modules.documentlibrary.server.event.GetDLSyncUpdateEvent.handleResponse(GetDLSyncUpdateEvent.java:89)
      at com.liferay.sync.modules.documentlibrary.server.event.BaseEvent.executeRequest(BaseEvent.java:222)
      at com.liferay.sync.modules.documentlibrary.server.event.BaseEvent.run(BaseEvent.java:112)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 48 weeks, 4 days ago

                Packages

                Version Package
                1.0.3 RC4