-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[surepetcare] Fix DateTimeParseException
#16087
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
[surepetcare] Fix DateTimeParseException
#16087
Conversation
0bf3f01 to
3a0f92c
Compare
Fixes openhab#16082 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3a0f92c to
a350723
Compare
J-N-K
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
In general it would be nice to have a test that shows that an invalid date results in a JsonarseException.
Fixes #16082 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
|
HI @jlaur, I've tested the latest 4.1 jar with openHAB 4.1.0 - Build 3799; login and discovery works as expected 👍 ... cool that you added the patch to the 4.0 branch as well. The binding is working with 4.0.4 as well 👍 many thanks and with kind regards, |
Thanks for confirming that the fix works as expected. I had to take a chance with 4.1 since we reached code freeze, but unit tests helped reducing the risk.
You're welcome. I don't know if there will be further 4.0.x releases, but at least the JAR is now available. |
Fixes openhab#16082 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Fixes openhab#16082 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Fixes #16082
JAR for testing: org.openhab.binding.surepetcare-4.1.0-SNAPSHOT.jar