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

Error pushing changes - qfieldcloud server down? #4752 #4796

Closed
BoswachterMarc opened this issue Nov 22, 2023 · 25 comments · Fixed by opengisch/QFieldCloud#917 or #5139
Closed

Error pushing changes - qfieldcloud server down? #4752 #4796

BoswachterMarc opened this issue Nov 22, 2023 · 25 comments · Fixed by opengisch/QFieldCloud#917 or #5139

Comments

@BoswachterMarc
Copy link

BoswachterMarc commented Nov 22, 2023

See #4752

Reproduction steps

Steps to reproduce the behavior:

  1. Open a spatial layer (polygon?)
  2. Open a referenced non spatial child layer
  3. Open a text field in a existing child layer
  4. Change the text in this field and save
  5. Try to push the change
  6. I got a error pushing the change(s)

See screen recording (changing text field 'Test2' to 'Test2a')

Screen_Recording_20231122_194927.mp4

Desktop (please complete the following information)

  • OS: [e.g. Windows]
  • QGIS Version [e.g. 3.22.0]
  • QFieldSync Version [e.g.4.0.0]

Mobile (please complete the following information)

  • Device: Samsung A52
  • OS: Android 13
  • QField version: 3.0.7 - Amazonia - 35e3ee

Additional information

  • Problem started happening recently, didn't happen in an older version of QField: [Yes]
  • Problem can be reliably reproduced, doesn't happen randomly: [Yes]
  • Problem happens with all files and projects, not only some files or projects: Don't know yet

Boswachter_Marc
walden_v6a

@nirvn
Copy link
Member

nirvn commented Nov 25, 2023

@BoswachterMarc , every time I see screenshots / videos of your project, I can't help but notice how nice the symbology is ;)

Has the connection returned?

@nirvn nirvn added the feedback label Nov 25, 2023
@BoswachterMarc
Copy link
Author

BoswachterMarc commented Nov 25, 2023

Thank you @nirvn ;-)
The connection returns when I delete that specific change. I other words, when I add a child feature, there is no problem, when I change the content of a (text) field, I got the connection error. It could be handy to have - before pushing - a overview of the local changes one made...

@nirvn
Copy link
Member

nirvn commented Nov 25, 2023

@BoswachterMarc , can you click on the error message area, it should expand and give us a longer error string.

@BoswachterMarc
Copy link
Author

I was able to reproduce but had to add a child feature AND change the content of a text field of a existing child feature.
Screenshot_20231125_102456
Screenshot_20231125_102521

@m-kuhn m-kuhn removed the feedback label Dec 3, 2023
@nirvn
Copy link
Member

nirvn commented Mar 22, 2024

@BoswachterMarc , is it still an issue on the latest QField 3.2? There's been a fair amount of development both on the QField app as well as the QFieldCloud server side of things.

@BoswachterMarc
Copy link
Author

@nirvn I am afraid the problem is still there

Screen_Recording_20240323_114723.mp4

Screenshot_20240323_114751

@nirvn
Copy link
Member

nirvn commented Mar 23, 2024

@BoswachterMarc , what is your cloud user name?

@suricactus
Copy link
Collaborator

I am on it, fix is coming with the next QField and QFieldCloud versions.

@nirvn
Copy link
Member

nirvn commented Mar 23, 2024

@suricactus , nice! I was literally about to open the admin side of things to look into this some more. 🙏

@BoswachterMarc
Copy link
Author

Thanks guys, you all do a great job!

@suricactus
Copy link
Collaborator

@BoswachterMarc can you please try this PR if it fixed the issue for you? #5139

@BoswachterMarc
Copy link
Author

Just tried it (installed the PR and downloaded the same cloud project)
1/ when I add a new feature, I can not see it on the map. There is no symbol so I can not select it and change the child value.
2/ when I add a feature not related to the child form, the symbol is drawn.
3/ when I change a existing feature the symbol remains and I can push the change without error.
See the screen recordings

Screen_Recording_20240323_155914.mp4
Screen_Recording_20240323_155957.mp4
Screen_Recording_20240323_155303.mp4

@suricactus
Copy link
Collaborator

@BoswachterMarc I see that in 1) and 2) you select a different "Kies type boom/element". Is it possible that your symbology is not configured to show anything if you select "TBoom_MLV"? Can you try the exact same attribute values selected? In any case, if 3) works, the other issues in 1) and 2) are unrelated to the sync issue you had before.

@BoswachterMarc
Copy link
Author

@suricactus I did exactly the same as in #4796 (comment)

I used the same cloud project (didn't change anything) so - for now - I disagree.

@BoswachterMarc
Copy link
Author

@suricactus here with the exact same attribute values selected in the 3.2.0 release... No problem with the symbol.

Screen_Recording_20240323_170005.mp4

@suricactus
Copy link
Collaborator

suricactus commented Mar 23, 2024

@suricactus here with the exact same attribute values selected in the 3.2.0 release... No problem with the symbol.

Interesting, I am still quite sure this is another regression prior to the PR that you are testing, note there were a lot more other changes betwee 3.2.0 and the version your tested.

Just a very quick way to confirm the feature is actually created, but not visualized in two independent ways:

  1. when you create the "invisible" feature, the QFieldCloud counter icon should increment by 1 (if you create the child feature, the incremented by 2).
  2. create the feature in a remote/zoomed area without any other features from this layer visible. After successfull save, go to layer popup and select "Show visible features list". The the list should show your invisible feature.

image


@nirvn super nice we got this regression in early stage, now we need to find exactly where it comes from.

@nirvn
Copy link
Member

nirvn commented Mar 24, 2024

@BoswachterMarc , the "invisible symbology" issue is fixed by this PR: #5141 -- you can try an APK in the PR to confirm.

The regression did occur in 3.2.0 :) maybe you did not spot it as you might have had 'fast editing' mode turned on. In any case, thanks for making us aware of that one.

@BoswachterMarc
Copy link
Author

Everything works! Pushing the changes in the child layer and symbology.

@suricactus
Copy link
Collaborator

@BoswachterMarc expect this in 3.2.2 in the next weeks, not in the immediate 3.2.1 released today.

@BoswachterMarc
Copy link
Author

@suricactus I noticed ;-) In the meantime, I will use the PR you shared with me. Thanks for all the effort.

@nirvn
Copy link
Member

nirvn commented Mar 24, 2024

@BoswachterMarc , if you don't mind me asking, what are the uses you have for QField. You've clearly got a complex project here, makes me curious.

@BoswachterMarc
Copy link
Author

@BoswachterMarc , if you don't mind me asking, what are the uses you have for QField. You've clearly got a complex project here, makes me curious.

We manage forests and nature reserves in a multifunctional and sustainable/climate-smart way. The wood we produce is FSC certified. But apart from that, we love dead wood, monumental and old trees, plantations and natural regeneration in various forms. And of course, we cherish the plants and animals that live there. That's it in a nutshell ;-)

@nirvn
Copy link
Member

nirvn commented Mar 25, 2024

@BoswachterMarc , thanks for sharing that paragraph, it's always quite inspirational to hear the many uses people have for QField out there.

Also, QField 3.2.2 was released within 24 hours of 3.2.1, with the cloud fix you were in need of, you can therefore hop back onto the official release builds. Happy field mapping!

@FjInvestigador
Copy link

FjInvestigador commented Jul 8, 2024

Hello, i have this problem, i use an iphone xs, the version of QField is 3.3.6 - Darién (78a4fe v3.3.6) Qt 6.6.3
image
Can someone, please help me!!!

@suricactus
Copy link
Collaborator

Please consider opening a support ticket on the ticketing platform at https://support.qfield.cloud/portal/en/home .

@opengisch opengisch locked as resolved and limited conversation to collaborators Jul 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants