Search found 43 matches
- September 21st, 2020, 7:54 am
- Forum: Synchronization
- Topic: An inconvenient implementation of GetDeviceId
- Replies: 4
- Views: 2821
Re: An inconvenient implementation of GetDeviceId
I don't think they are different, instead to us they are in fact different. We create a survey column and store the result of the GetDeviceID in it. We also store the device id that send the data from CSWeb in a table when we recive the data. Then we compare both values form the same cases and we ge...
- September 20th, 2020, 5:06 pm
- Forum: Synchronization
- Topic: An inconvenient implementation of GetDeviceId
- Replies: 4
- Views: 2821
An inconvenient implementation of GetDeviceId
The GetDeviceID function (https://www.csprousers.org/help/CSPro/getdeviceid_function.html) doesn't return the device id. Instead and how is described in the documentation it return an android id. So, the device ID that is received in CSWeb does not match with the device id that we can retrieve in th...
- September 9th, 2020, 12:58 pm
- Forum: Synchronization
- Topic: Avoid synchronization while an synchronization is already in progress.
- Replies: 12
- Views: 6099
Re: Avoid synchronization while an synchronization is already in progress.
Yes, it look like you have right in your assumption. The survey is taking place in a aleatory sample of all Mexico. So, it's a fact the in some places the interviewer will have not a good connectivity. Maybe you could implement de-bouncing on your end. Don't send an email about a case if you previou...
- September 9th, 2020, 11:00 am
- Forum: Synchronization
- Topic: Avoid synchronization while an synchronization is already in progress.
- Replies: 12
- Views: 6099
Re: Avoid synchronization while an synchronization is already in progress.
Well ok, i have not much more ideas about the cause for now. I need the client log to see what is happening as you recommending. Thanks. Is this something that happens consistently or is it only happening for certain users or is it intermittent? In more than 10000 revisions for all questionnaires we...
- September 8th, 2020, 11:42 pm
- Forum: Synchronization
- Topic: Avoid synchronization while an synchronization is already in progress.
- Replies: 12
- Views: 6099
Re: Avoid synchronization while an synchronization is already in progress.
Thanks @josh, but find the client log will be really difficult to us. I will try anyway. It is not possible for two syncs to run at the same time. The code that does the synchronization is single threaded so they must be done in sequence. Asynchronous and single-threaded at same time is possible (ht...
- September 8th, 2020, 7:35 pm
- Forum: Synchronization
- Topic: Avoid synchronization while an synchronization is already in progress.
- Replies: 12
- Views: 6099
Re: Avoid synchronization while an synchronization is already in progress.
To clarify why we need that: We need a fix for that, because in the process where we are transforming the data to a queryable tables on fly, we also have a mechanism that when we received the same data (a duplicate case), we report it to the supervisors by email. But how is not really a duplicate ca...
- September 8th, 2020, 7:11 pm
- Forum: Synchronization
- Topic: Avoid synchronization while an synchronization is already in progress.
- Replies: 12
- Views: 6099
Re: Avoid synchronization while an synchronization is already in progress.
Thanks one more time @josh. I will answer your sentences one by one only to show you that i fully understand the process (because, yes the problem reside in the implementation level). I migrate CSWeb 7.0 from MySQL to PostgresSQL some month ago and i implement a mechanism in CSWeb 7.4 to extract the...
- September 8th, 2020, 6:24 pm
- Forum: Synchronization
- Topic: CSWeb failure with RFC3339 and CSPro is thinking that all is ok
- Replies: 3
- Views: 2269
Re: CSWeb failure with RFC3339 and CSPro is thinking that all is ok
Thanks again @josh, unfortunate we have not contact with the client and they have not the training to extract the info by himself. The client are in all states of the Mexican countries and this is exactly the problem that we have. If we can access to the client, we can fix the problem, but we have n...
- September 8th, 2020, 2:35 pm
- Forum: Synchronization
- Topic: CSWeb failure with RFC3339 and CSPro is thinking that all is ok
- Replies: 3
- Views: 2269
CSWeb failure with RFC3339 and CSPro is thinking that all is ok
We are using CSPro/CSWeb 7.4 but CSWeb have a problem to check the schema format of the json that CSPro is sending to the server. Exactly the problem occurs checking the date-time format Rfc3339 of the interview notes. We temporary fixed the problem commenting the related code in CSWeb: case 'date-t...
- September 8th, 2020, 12:49 pm
- Forum: Synchronization
- Topic: Avoid synchronization while an synchronization is already in progress.
- Replies: 12
- Views: 6099
Re: Avoid synchronization while an synchronization is already in progress.
Probably is because the user use the shortcut (Ctrl+Shift+S) to send the info and he hit several time the shortcut, sending several times the same info.
This can be prevented somehow?
This can be prevented somehow?