Open axelstudios opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity within 60 days. It will be closed if no further activity occurs. Thank you for your contributions.
Seems like this would be a good issue to fix in the Q2 bug fix world, since many users are importing meter data.
I see this endpoint implemented but not used. Is that correct?
What should happen?
Instance: dev1 SHA: 9c719a96b Org: LBNL 200 Cycle: Meter Import Testing
I imported a file with one property, 2 meters (gas and electric) with the last 2 gas meter entries duplicated, except that the value for the consumption was different between the two, even though the dates were the same.
I then imported the file just for Meter Data
As the data was being imported, SEED displayed this screen, which indicated that there were 13 records for Natural Gas, which is correct.
SEED then produced this screen, which indicated that there were overlapping readings for the Natural Gas meters
So the program imported the Electric meter data, because it didn't have overlapping readings. But it didn't import the Natural Gas meter data, which DID have overlapping readings.
Seems like we might need a stronger message to the user, saying that "meter
I'll update the message in the error column of the blue Meter Reading Counts table.
@perryr16 -- thanks !! Let me know when that is deployed to dev1 and I will retest.
@perryr16 / @kflemin -- has the updated message been deployed to dev1 for testing?
@kflemin / @perryr16
This is in 2 different projects,
But the added message about the natural gas data not being imported has not been implemented, even though one of the projects says Test
Not sure what to do -- if it's ready to deploy, seems like it should be in just one project, maybe the bug fix project, but not both.
@perryr16, I'm not sure that this error message got reworked...did it?
@RDmitchell, I removed this issue from tech debt since we're tracking it in the Q2 bug fix.
@kflemin, no the error message has not been reworked. I'll take care of that
@kflemin -- I moved the status to "In Progress" rather than "Test"
This issue has been automatically marked as stale because it has not had recent activity within 60 days. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behavior Errors should be handled gracefully
Actual Behavior A 500 error occurs if an array of meter readings is sent that contains two or more readings with the same start and end times.
Steps to Reproduce
/api/v3/properties/{property_id}/meters/{meter_id}/readings/
Additional Context
Error Output: