Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Pull from Collect directory where a few versions of the same form are available is not possible #883

Open
mmarciniak90 opened this issue Oct 20, 2020 · 1 comment

Comments

@mmarciniak90
Copy link

mmarciniak90 commented Oct 20, 2020

Software versions

Briefcase v1.17.4 (only this version was checked)

Problem description

Pull from Collect directory where a few versions of the same form are available is not possible

Steps to reproduce the problem

  1. User selects Collect directory on Pull tab
  2. User adds directory with a few versions of the same form
    odk.zip
    or from this, it is cleared odk.zip
  3. User sees unexpected behavior
    • Pull button is inactive when all forms are selected
    • Select All button display instead of Clear All even if all forms are selected
    • If only 2 versions of form are selected and Pull button is clicked, the process never ends
Zrzut ekranu 2020-10-20 o 17 44 22 Zrzut ekranu 2020-10-20 o 17 45 13
@lognaturel
Copy link
Member

I think our best bet would be to change TransferForms.formsIndex to a Map<String, List<FormStatus>> instead of Map<String, FormStatus>. The workaround is to just pull the most recent form version. Ideally form version would be displayed in the UI.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants