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

Portal settings setters should not persist to DB #3033

Merged
merged 2 commits into from
Oct 29, 2019
Merged

Portal settings setters should not persist to DB #3033

merged 2 commits into from
Oct 29, 2019

Conversation

donker
Copy link
Contributor

@donker donker commented Sep 27, 2019

Erroneously the earlier code copied the pattern from TimeZone and persisted to the database the value being set. But the controller that fills this object passes through here so the PortalSettings keep getting reset and not being cached. This also raises the question whether TimeZone should be refactored.

@donker donker added this to the 9.4.2 milestone Sep 28, 2019
@valadas
Copy link
Contributor

valadas commented Oct 7, 2019

Since this modifies a public property behaviour, I would vote to retarget this to Dnn10 to be extra-safe. Thoughts? Is this change mainly for cleanup/performance or does it cause a bug?

@mitchelsellers
Copy link
Contributor

@donker can you confirm this is actually a bug in the new code?

@valadas valadas modified the milestones: 9.4.2, 10.0.0 Oct 15, 2019
@mitchelsellers mitchelsellers modified the milestones: 10.0.0, 9.4.2 Oct 29, 2019
@mitchelsellers mitchelsellers merged commit 68aea30 into dnnsoftware:release/9.4.x Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants