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.
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?
puts a catch statement on the uploader_factory.check_progress_loop_main_sub function.
always display existing mapping suggestions, even if matching had not previously completed
translations
refactors for clarity
How should this be manually tested?
Upload with an invalid MapQuest API.
Enter an invalid MapQuest API key. (if the API key is blank, geocoding is skipped)
Upload ESPM data: Data > Import Portfolio Manager Data > Log in with SEED_City_test > select SEED City Benchmarking Report > go through mapping/matching.
User should be presented with an informative error message.
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.
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?
uploader_factory.check_progress_loop_main_sub
function.How should this be manually tested?
Upload with an invalid MapQuest API.
What are the relevant tickets?
4675 #4674
Screenshots (if appropriate)