SEED-platform / seed

Standard Energy Efficiency Data (SEED) Platform™ is a web-based application that helps organizations easily manage data on the energy performance of large groups of buildings.
Other
111 stars 54 forks source link

Improve handling of failed ESPM imports #4762

Closed perryr16 closed 2 months ago

perryr16 commented 3 months ago

Any background context you want to provide?

If an org MapQuest API key was invalid, the import process would stall and the mapping suggestions would not be saved.

What's this PR do?

How should this be manually tested?

Upload with an invalid MapQuest API.

  1. Enter an invalid MapQuest API key. (if the API key is blank, geocoding is skipped)
  2. Upload ESPM data: Data > Import Portfolio Manager Data > Log in with SEED_City_test > select SEED City Benchmarking Report > go through mapping/matching.
  3. User should be presented with an informative error message.
  4. After the failed import, go to Data > click on the dataset name > Data Paring for the failed import > the mappings should appear but are still editable as it was unsuccessful.

What are the relevant tickets?

4675 #4674

Screenshots (if appropriate)

Screenshot 2024-08-27 at 1 41 53 PM