You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing a project from a folder, some of the files are not imported, and the older versions are used when the project is opened.
Reproduction steps
Steps to reproduce the behavior:
Import a project from a folder on the local device
Update the source files, e.g. via rsync from a PC
Import the project again, agree to overwrite the existing project.
Observe that some of the old files are still there and were not overwritten by updated copies from the selected folder.
I am not sure exactly what the criteria are for avoiding the update, but the files skipped are .gpkg containing multiple layers (point, vector, etc.) All layers in the file appear to be skipped, so it appears the file itself is not being copied during the import process. Other .gpkg layers copy and update fine.
The only way I have been able to get the layers to update is to SSH into the phone and delete the .gpkg files from the QField data directory. When I next import the project it does copy the .gpkg files and then the updated data is available, however it then fails with exactly the same files on the next attempted import of updated data.
There don't appear to be any issues with file permissions or dates. All the .gpkg files get updated except for two and I cannot identify why those two are different.
Unfortunately I can't share the project for privacy reasons, however if there is any troubleshooting I can do or logging I can activate please let me know and I am happy to run any sort of testing required.
Expected behavior
I expected all files would be imported and overwritten with the latest incoming data.
Observed behavior
Most of the files were overwritten, but a couple were not. The files that were not overwritten (in the QField app data directory) still had their old timestamps, making it easy to tell which files were and weren't updated.
Desktop (please complete the following information)
OS: Linux
QGIS Version 3.28.0, but the problem has existed for at least six months.
QFieldSync Not used
Mobile (please complete the following information)
Device: Pixel 3a XL
OS: Android 12
QField version: 3.3.2 (a2b464)
Additional information
Problem started happening recently, didn't happen in an older version of QField: No, has been happening for six or more months
Problem can be reliably reproduced, doesn't happen randomly: Yes, seems to be every time I try to import the project
Problem happens with all files and projects, not only some files or projects: Unknown, only have one project
The text was updated successfully, but these errors were encountered:
Describe the issue
When importing a project from a folder, some of the files are not imported, and the older versions are used when the project is opened.
Reproduction steps
Steps to reproduce the behavior:
I am not sure exactly what the criteria are for avoiding the update, but the files skipped are .gpkg containing multiple layers (point, vector, etc.) All layers in the file appear to be skipped, so it appears the file itself is not being copied during the import process. Other .gpkg layers copy and update fine.
The only way I have been able to get the layers to update is to SSH into the phone and delete the .gpkg files from the QField data directory. When I next import the project it does copy the .gpkg files and then the updated data is available, however it then fails with exactly the same files on the next attempted import of updated data.
There don't appear to be any issues with file permissions or dates. All the .gpkg files get updated except for two and I cannot identify why those two are different.
Unfortunately I can't share the project for privacy reasons, however if there is any troubleshooting I can do or logging I can activate please let me know and I am happy to run any sort of testing required.
Expected behavior
I expected all files would be imported and overwritten with the latest incoming data.
Observed behavior
Most of the files were overwritten, but a couple were not. The files that were not overwritten (in the QField app data directory) still had their old timestamps, making it easy to tell which files were and weren't updated.
Desktop (please complete the following information)
Mobile (please complete the following information)
Additional information
The text was updated successfully, but these errors were encountered: