briefcase icon indicating copy to clipboard operation
briefcase copied to clipboard

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

Open mmarciniak90 opened this issue 5 years ago • 1 comments

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

mmarciniak90 avatar Oct 20 '20 15:10 mmarciniak90

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.

lognaturel avatar Oct 26 '20 17:10 lognaturel