MerginMaps / mobile

Mergin Maps mobile app 📲 Open QGIS projects and manage vector data on your phone, even offline 📶 (Android/iOS/Windows app)
https://merginmaps.com
GNU General Public License v2.0
299 stars 65 forks source link

Mobile version not loading after sync when changing all files for the project #3587

Open alexd0793 opened 2 months ago

alexd0793 commented 2 months ago

When i tried to open a project on mobile version, after syncing the changes that i made from the dashboard for that project, the project is not opening.Follow these steps(on app.dev):

1.have a downloaded on mobile app 2.go to dashboard, delete all the files from the project(not the project itself) 3.upload files from another project 4.go back to mobile app and sync the project 5.try to open it

Expected:New project si opening Actual: project is not opening, app is blocking, in order to see the project you need to delete it from internal mobile storage and then to download it again

VitorVieiraZ commented 1 month ago

I was able to reproduce the bug. Server fails to detect .qgz file changing, causing the app to miss the update as well. This results in a failed attempt to open the .qgz file, which no longer exists.