Skip to content

BUG: saved "last" values not updating properly #83

@melange396

Description

@melange396

A bug appears to have been introduced by #67 where the "last" form values (saved from the previous use of the form) are not updating or being used properly.

To reproduce while varying the geo value:

  • open a new epivis session
  • open the "Load from Epidata API" dialog, select the "Delphi COVIDcast" data source, and enter the other form values for a valid data series
  • observe that the requested series is loaded successfully
  • again open the "Load from Epidata API" dialog, and notice the form values have been saved
  • change the "Geographic Value" to a different but valid option
  • click "FETCH DATA" and observe the error dialog containing the text "Cannot import duplicate dataset:" and also the text of the initial geographic value
  • again open the "Load from Epidata API" dialog, notice the form values have been saved, including the second geographic value
  • (optionally) change any or all of the form values
  • click "FETCH DATA" and observe the successful loading of the data series previously selected, with the second geographic value (and other prior form choices)

Note that this bug can also be triggered, for instance, by changing the "Data Signal" instead of the "Geographic Value" (along with any of the other fields as well)


The following are NOT affected:

The following are affected:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions