QRealTime icon indicating copy to clipboard operation
QRealTime copied to clipboard

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

Open yorkfrog opened this issue 4 years ago • 2 comments

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 avatar Jun 01 '20 15:06 yorkfrog

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

shivareddyiirs avatar Jun 04 '20 09:06 shivareddyiirs

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

yorkfrog avatar Jun 09 '20 13:06 yorkfrog