opengisch / qfieldsync

Sync your projects to QField
https://qfield.org/
GNU Lesser General Public License v3.0
54 stars 26 forks source link

QFieldSync logs when synchro not successful #577

Open sallib opened 5 months ago

sallib commented 5 months ago

Hi!

I use QfieldSync to synchronise field data from several tablets with a Postgis database.

Overall, the synchronisation works well, but sometimes I noticed incomplete synchro (some entities are missing from the Postgis tables).

I realised that this was due to database uniques constraints that had not been respected, so it's normal that some entities couldn't be recorded in database.

However, QFieldSync does not return any error messages to the user.

Would it be possible to return the postgres logs when there are errors during synchronisation?

koenigherford commented 1 month ago

It would be great to have this enhancement.

In my case I accitentally recognized, that some point-features were SILENTLY NOT added to database during syncronizing-process via cable. (Primary reason for failing syncronisation was a invalid/double sequence-number of unique id (for what reason ???))

Missing warnings will reduce trust in data extremly. (With warning-messages some import-issues may be fixed manually afterwards - but without warning-message the data may be corrupted by loss of some features) ....