All,
The client has in the application a synchronise button that they can only press one time and after the synchronise is done he can press a second time and so on. It crashes on the synchronise (the first one) and then we get the error below :s…
The code that we are using is the following:
SAET_LINKSynchronizationParameters *sp_link = [SAET_LINK getSynchronizationParameters];
sp_link.syncLinkByUserID = employeeID;
[sp_link save];
[SAMborevcrmDB synchronize:@"AccountContactGroup"];
SAET_VISITSSynchronizationParameters *sp_visit = [SAET_VISITS getSynchronizationParameters];
sp_visit.syncByEmployeeId = employeeID;
sp_visit.syncByInitiatorId = employeeID;
[sp_visit save];
[SAMborevcrmDB synchronize:@"VisitGroup"];
SAET_TASKSSynchronizationParameters *sp_link_task = [SAET_TASKS getSynchronizationParameters];
sp_link_task.syncByEmployeeId = employeeID;
sp_link_task.syncByInitiatorId = employeeID;
[sp_link_task save];
[SAMborevcrmDB synchronize:@"TaskGroup"];
Now after a synchronising multiple times > 10 we get the following error:
SUPPersistenceException from synchronize: SUPPersistenceException from isReplayQueueEmpty: error in findEntities -> Crash...
Has anybody any idea what the problem can be?
We are working with SUP 2.1.3 patch 02.
Nick