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
107 stars 55 forks source link

PM import record of one property returns 400 status #2384

Closed lainsworth8801 closed 4 years ago

lainsworth8801 commented 4 years ago

Expected Behavior

A ESPM template with only one property should be returned successfully.

Actual Behavior

A ESPM template containing 1 property returned as a dict object results in a 400 status as portfolio_manager.py expects a list instance of possible multiple properties.

Steps to Reproduce

  1. Create a ESPM template with 1 property;
  2. Import this template from SEED via import portfolio manager data.

Instance Information

Screen Shot 2020-08-26 at 9 10 28 PM

Server Instance: dev1

Server SHA: abcd123

RDmitchell commented 4 years ago

instance: dev1 SHA: 38fb067 Org: LBNL Test 200

Imported spreadsheet with one record, no problems.