Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QField Synchronization Issue #507

Open
Sergo993108 opened this issue Mar 16, 2023 · 1 comment
Open

QField Synchronization Issue #507

Sergo993108 opened this issue Mar 16, 2023 · 1 comment

Comments

@Sergo993108
Copy link

Hi all.

Today I tried to synchronize several projects: 1 from Android Device and 1 from IOS device. I did it with "Synchronize from QField" in QFieldSync plugin. The problem is next->Firstly, I synchronized project from phone (it doesn't matter what type of phone was first because i tried it firstly with iphone and next attempt was firstly with Android device) and new points, that has been added in phone project, appeared in original .qgs project on computer. Then i tried adding points from next device (in this case again it doesn't matter what type of device) to the original project with already updated points from first device but unfortunately, points from second device were not appeared to the updated project.
First question is Why is this error coming out, if at first it seems that the data was updated successfully? In the folder that was exported from the phone there is one .qgs project, just like in the folder with the originally unchanged data there was also one qfield .qgs project. I found quite the same thread #132 but look like it was not solved.
And second question is how to synchronize project in my situation?

Version of QGIS: 3.28.4
Version of QFieldSync: 4.4.8
Version of QField: 2.7.1 - Heroic Hedgehog(2de281 v2.7.1)

@sallib
Copy link

sallib commented Mar 20, 2023

Hi,

I also recently had some problems with Qfield sync that I didn't have before.

I synchronized a QGIS project offline (from a tablet) to a QGIS project. At first sight, everything as ok, I had no error messages.

But looking at the data, I noticed that the data added on the tablet were well imported; but the data updated via the tablet form were not updated.

In the Postgresql server logs, I notice errors related to foreign key constraints.

Qfield sync would have tried to synchronize a child table, before the parent table, which would have caused problems.

QGIS 3.22.10
QFieldSync : 4.4.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants