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

QRT defaults to using Aggregate server even though last used Kobo server #50

Open
yorkfrog opened this issue Jun 1, 2020 · 2 comments
Assignees

Comments

@yorkfrog
Copy link

yorkfrog commented Jun 1, 2020

Describe the bug
QRT no longer remembers that I am using Kobo server and defaults to Aggregate server even though I last used Kobo server and Agg svr tab has blank settings. This occurs when trying to "make online" or import via QRT.

Goto View-->Panels-->Log Message
massages tab:

2020-06-01T16:16:22     WARNING    ODK Aggregate : Enter url in settings
2020-06-01T16:16:22     CRITICAL    ODK Aggregate : Can not connect to server

QRT Tab

2020-06-01T16:16:22     INFO    not writing fieldsNone
2020-06-01T16:16:22     INFO    'type'None
2020-06-01T16:16:22     INFO    getFieldModelTextEdit
2020-06-01T16:16:22     INFO    getFieldModelTextEdit
2020-06-01T16:16:22     INFO    getFieldModelTextEdit
2020-06-01T16:16:22     INFO    getFieldModelTextEdit
2020-06-01T16:16:22     INFO    getFieldModelExternalResource
2020-06-01T16:16:22     INFO    got an image type fieldNone
2020-06-01T16:16:22     INFO    getFieldModelTextEdit
2020-06-01T16:16:22     INFO    getFieldModelTextEdit
2020-06-01T16:16:22     INFO    fieldDict[{'name': 'GEOMETRY', 'type': 'geopoint', 'bind': {'required': 'true()'}, 'Appearance': 'maps', 'label': 'add point location'}, {'name': 'tag_no', 'map': 'tag_no', 'label': 'tag_no', 'hint': '', 'type': 'integer', 'bind': {}, 'fieldWidget': 'TextEdit', 'choices': {}}, {'name': 'tree_no', 'map': 'tree_no', 'label': 'tree_no', 'hint': '', 'type': 'integer', 'bind': {}, 'fieldWidget': 'TextEdit', 'choices': {}}, {'name': 'species', 'map': 'species', 'label': 'species', 'hint': '', 'type': 'text', 'bind': {}, 'fieldWidget': 'TextEdit', 'choices': {}}, {'name': 'notes', 'map': 'notes', 'label': 'notes', 'hint': '', 'type': 'text', 'bind': {}, 'fieldWidget': 'TextEdit', 'choices': {}}, {'name': 'photo', 'map': 'photo', 'label': 'Photo', 'hint': '', 'type': 'image', 'bind': {}, 'fieldWidget': 'ExternalResource'}, {'name': 'testInt', 'map': 'testInt', 'label': 'testInt', 'hint': '', 'type': 'integer', 'bind': {}, 'fieldWidget': 'TextEdit', 'choices': {}}, {'name': 'testTxt', 'map': 'testTxt', 'label': 'testTxt', 'hint': '', 'type': 'text', 'bind': {}, 'fieldWidget': 'TextEdit', 'choices': {}}]

To Reproduce
Steps to reproduce the behavior:

  • close QGIS
  • open QGIS and open project with QRT
  • go to layer and QRT menu and "make online"
  • See error message on screen and in log messages.

Expected behavior
To remember that I have set Kobo server settings and use them. OR remember last server used and use that when re-opening the project.

please complete the following information):

  • OS: Ubuntu 18.04
  • QGIS Version 3.6.3
  • Plugin Version 3.13

Additional context
Work around

  • open project
  • goto QRT settings
  • click on Kobo tab and save
  • connects to Kobo server as expected.
@yorkfrog yorkfrog added the bug label Jun 1, 2020
@yorkfrog yorkfrog changed the title QRT defaults to using Aggregate server even though last used Kobo server and defaults QRT defaults to using Aggregate server even though last used Kobo server Jun 1, 2020
@shivareddyiirs
Copy link
Owner

Yes this is known issue but I am not able to figure out how to default to previous selection.

@yorkfrog
Copy link
Author

yorkfrog commented Jun 9, 2020

Hi @shivareddyiirs , perhaps add a checkbox to each tab to allow the user to indicate which is the default? When you set one, you unset the other.
-C

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

No branches or pull requests

2 participants