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

Correctly initialize editor prefs with custom data store. #1568

Merged
merged 2 commits into from Oct 2, 2019

Conversation

maniac103
Copy link
Contributor

When using editor prefs with a custom data store, the initial data load
happens before assigning the data store and thus too early. Re-do the
initialization when assigning the data store to fetch the content from
the correct place.

Fixes #1558

When using editor prefs with a custom data store, the initial data load
happens before assigning the data store and thus too early. Re-do the
initialization when assigning the data store to fetch the content from
the correct place.

Fixes openhab#1558

Signed-off-by: Danny Baumann <dannybaumann@web.de>
@maniac103
Copy link
Contributor Author

Created a bug report for that: https://issuetracker.google.com/issues/141918360

@mueller-ma mueller-ma added the bug Indicates an unexpected problem or unintended behavior label Oct 2, 2019
Copy link
Member

@mueller-ma mueller-ma left a comment

Choose a reason for hiding this comment

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

LGTM!

…e-init

Signed-off-by: Danny Baumann <dannybaumann@web.de>
@mueller-ma mueller-ma merged commit 82f78e7 into openhab:master Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User name and password settings are reset when opening
3 participants