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

Fix NRE when the user set their time zone as the site's (Lombiq Technologies: OCORE-200) #16777

Merged
merged 4 commits into from
Sep 24, 2024

Conversation

Piedone
Copy link
Member

@Piedone Piedone commented Sep 21, 2024

Fixes #16776.

@Piedone
Copy link
Member Author

Piedone commented Sep 21, 2024

@emrahtokalak could you check, please?

@MikeAlhayek MikeAlhayek mentioned this pull request Sep 24, 2024
29 tasks
@MikeAlhayek MikeAlhayek added this to the 2.0.1 milestone Sep 24, 2024
: new TimeZoneSelectorResult
{
Priority = 100,
TimeZoneId = async () => (await _userTimeZoneService.GetAsync(currentUser))?.TimeZoneId
Copy link
Member

Choose a reason for hiding this comment

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

@Piedone I don't think there is a need for the async here. just return a task would be better

@MikeAlhayek MikeAlhayek merged commit 9b42df2 into OrchardCMS:main Sep 24, 2024
55 checks passed
@MikeAlhayek
Copy link
Member

/backport to release/2.0

Copy link
Contributor

Started backporting to release/2.0: https://github.com/OrchardCMS/OrchardCore/actions/runs/11022226865

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timezone error after upgrade to 2.0
4 participants