Notes not being synchronized

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
wimneel
Posts: 86
Joined: May 6th, 2017, 5:31 am

Notes not being synchronized

Post by wimneel »

Hi,

I just discovered that Notes added to cases by interviewers are nog always synchronized to the server.
We are using CSEntry 7.6.2.
I have not found out when they are and when they are not synchronized.
Has anybody got the same experience?
Gregory Martin
Posts: 1774
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Notes not being synchronized

Post by Gregory Martin »

Are you sure that the notes are being saved to the data file? There is only one "modified" flag to a case, so if data and/or notes are modified, the whole case should be synched again.

The next time you observe this issue, I would:

1) Open the data file in Data Viewer and confirm that the notes are there.

2) If they are, and you're willing to, send the file to cspro@lists.census.gov and we can look at the sync history table to see what might be happening.
wimneel
Posts: 86
Joined: May 6th, 2017, 5:31 am

Re: Notes not being synchronized

Post by wimneel »

Hi Gregory,

Thank you for your reply.
Perhaps I should have been more detailed.
In the case I am talking about, the Note does not show in the Data Viewer, even after multiple sincronizations. I tried editing the note itself as well as making changes to some of the anwers, but nothing makes the Note appear.
This case is a "partially saved" one, but I have seen the same behaviour in fully completed cases.
wimneel
Posts: 86
Joined: May 6th, 2017, 5:31 am

Re: Notes not being synchronized

Post by wimneel »

The Note is in the .csdb file on the tablet, but not in the .csdb file downloaded from the server by Data Viewer.
So it seems the error occurs during synchronization.
wimneel
Posts: 86
Joined: May 6th, 2017, 5:31 am

Re: Notes not being synchronized

Post by wimneel »

The api log file says about the latest synchronization:

[2021-08-23 14:06:20] app.ERROR: Debugging build time issue 2021-08-21T13:49:40Z [] []
savy
Posts: 159
Joined: December 27th, 2012, 1:36 pm

Re: Notes not being synchronized

Post by savy »

The error you are seeing is for debugging information purpose. This is coming from the special CSWeb change that I gave you a while back. I was forcing to print that information without changing your CSWeb config to debug mode. Ignore these lines from the error log file. Is this the only error you are seeing?
wimneel
Posts: 86
Joined: May 6th, 2017, 5:31 am

Re: Notes not being synchronized

Post by wimneel »

Yes. The entire api log just contains this one line.
savy
Posts: 159
Joined: December 27th, 2012, 1:36 pm

Re: Notes not being synchronized

Post by savy »

We are unable to reproduce this issue. Can you send us your test app with a test case where you are having notes syncing problem? Please send your application to cspro@lists.census.gov
In MySQL notes are stored in a separate table named as <dictionaryName>_notes you can check if the notes are stored the database table. Let us know if you are able to see the notes in the MySQL dictionary notes table.
wimneel
Posts: 86
Joined: May 6th, 2017, 5:31 am

Re: Notes not being synchronized

Post by wimneel »

There is no table with that name in the .csdb file.
I will send you the app.
wimneel
Posts: 86
Joined: May 6th, 2017, 5:31 am

Re: Notes not being synchronized

Post by wimneel »

The table is called "notes". In the .csdb file on the tablet it contains the note, but in the .csdb dowloaded from the server by DataViewer, the note is missing.
I sent you the app and both .csdb files.
Thanks for your help.
Post Reply