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

Normalize Metadata configuration from managed provider #2958

Merged
merged 2 commits into from
Sep 20, 2022

Conversation

J-N-K
Copy link
Member

@J-N-K J-N-K commented May 11, 2022

Fixes #1904

The reason is that GSON de-serializes numeric metadata configuration values from JSON storage to Double, while textual defined values are BigDecimal. This PR adds normalization of the entries provided by the managed provider.

Signed-off-by: Jan N. Klug github@klug.nrw

@J-N-K J-N-K added the bug An unexpected problem or unintended behavior of the Core label May 11, 2022
@J-N-K J-N-K requested a review from a team as a code owner May 11, 2022 18:06
J-N-K added 2 commits May 25, 2022 23:12
Signed-off-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Jan N. Klug <github@klug.nrw>
@J-N-K J-N-K force-pushed the bug-bormalizemetadata branch from 323b8d6 to daa814b Compare May 25, 2022 21:26
@wborn wborn requested a review from kaikreuzer June 17, 2022 05:49
@J-N-K
Copy link
Member Author

J-N-K commented Sep 18, 2022

@kaikreuzer Do you think we can merge here, too?

Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing. Sorry that this was getting out of my sight.

@kaikreuzer kaikreuzer merged commit e3b90e3 into openhab:main Sep 20, 2022
@kaikreuzer kaikreuzer added this to the 3.4 milestone Sep 20, 2022
@J-N-K J-N-K deleted the bug-bormalizemetadata branch September 20, 2022 19:40
splatch pushed a commit to ConnectorIO/copybara-hab-core that referenced this pull request Jul 12, 2023
* Normalize Metadata configuration from managed provider

Signed-off-by: Jan N. Klug <github@klug.nrw>
GitOrigin-RevId: e3b90e3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

metadata difference between mainUI and .items
2 participants