|
|
|
@ -398,6 +398,7 @@ public class ProducteevSyncProvider extends SyncProvider<ProducteevTaskContainer
|
|
|
|
|
protected void push(ProducteevTaskContainer local, ProducteevTaskContainer remote) throws IOException {
|
|
|
|
|
long idTask = local.pdvTask.getValue(ProducteevTask.ID);
|
|
|
|
|
long idDashboard = local.pdvTask.getValue(ProducteevTask.DASHBOARD_ID);
|
|
|
|
|
long idResponsible = local.pdvTask.getValue(ProducteevTask.RESPONSIBLE_ID);
|
|
|
|
|
|
|
|
|
|
// if local is marked do not sync, handle accordingly
|
|
|
|
|
if(idDashboard == ProducteevUtilities.DASHBOARD_NO_SYNC) {
|
|
|
|
@ -432,6 +433,12 @@ public class ProducteevSyncProvider extends SyncProvider<ProducteevTaskContainer
|
|
|
|
|
remote = create(local);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// responsible
|
|
|
|
|
if(remote != null && idResponsible !=
|
|
|
|
|
remote.pdvTask.getValue(ProducteevTask.RESPONSIBLE_ID)) {
|
|
|
|
|
invoker.tasksSetResponsible(idTask, idResponsible);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// core properties
|
|
|
|
|
if(shouldTransmit(local, Task.TITLE, remote))
|
|
|
|
|
invoker.tasksSetTitle(idTask, local.task.getValue(Task.TITLE));
|
|
|
|
|