Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update error message on overlapping reading import #4533

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

perryr16
Copy link
Contributor

@perryr16 perryr16 commented Feb 15, 2024

What's this PR do?

Updates the error message to be more descriptive if incoming readings (meter, sensor, greenbutton) have duplicate date-pairs.

Old message: "Overlapping Readings."
New message: "Import failed. Unable to import data with overlapping readings."
New message: "Import failed. Unable to import data with duplicate start and end date pairs."

How should this be manually tested?

What are the relevant tickets?

#4253

Screenshots (if appropriate)

Screenshot 2024-02-15 at 11 32 57 AM

@perryr16 perryr16 added the Bug label Feb 15, 2024
@perryr16
Copy link
Contributor Author

@kflemin / @RDmitchell -- is this updated error message satisfactory? I'm open to suggestions

@RDmitchell
Copy link

@perryr16 / @kflemin -- I guess the only thing I would wonder is whether we need to explain what "overlapping readings" mean, ie, "readings with the same start and end date"... ??

@perryr16
Copy link
Contributor Author

"Import failed. Unable to import data with duplicate start and end date pairs."

@RDmitchell
Copy link

@perryr16 -- perfect !!

@perryr16 perryr16 marked this pull request as ready for review February 15, 2024 21:00
@kflemin kflemin merged commit c47fae7 into develop Feb 15, 2024
8 checks passed
@kflemin kflemin deleted the 4253-fix/bulk-meter-reading-error-message branch February 15, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants