AtlasOfLivingAustralia / spatial-hub

New spatial portal front end using AngularJS
https://spatial.ala.org.au/
7 stars 16 forks source link

Dialog hangs when adding a species with no occurrences in an area #415

Closed timhicks-ala closed 1 year ago

timhicks-ala commented 3 years ago
  1. Add an area in SP (eg. a small rectangle in SA)
  2. Add a species to that area that has no occurrences in the area (eg. Casuarius casuarius)
  3. Dialog shows "No occurrences mapped for this layer and applied filters." as expected.

image

  1. Click OK on that box. The "Add a species layer to the map" box remains, with an unavailable "Next >" button. You can only click Cancel on this, but you shouldn't need to if adding a species has failed.

image

  1. "Casuarius casuarius (My Rectangle)" is still added to the list on the left as a species, despite containing zero occurrences.

image

Expected behaviour:

Tasilee commented 3 years ago

Fully agree. I have had the same issue a number of times.