ABP Framework version: 10.0.1
Description: When running a Blazor Server App on Linux (Azure App Service), calling ProfileAppService.GetTimezonesAsync() throws a TimeZoneNotFoundException for the timezone ID Africa/Asmera. This prevents the timezone dropdown from loading in the Account Profile and Admin Settings pages.
The same functionality works correctly in ABP 9.2.3 on the identical Linux environment.
Steps to reproduce:
- Deploy an ABP 10.0.1 application to a Linux environment (e.g., Azure App Service on Linux)
- Navigate to My Account > Personal Info
- Click on the Time zone dropdown
Stack trace:
System.TimeZoneNotFoundException: "Africa/Asmera" was not found.
at TimeZoneConverter.TZConvert.GetTimeZoneInfo(String windowsOrIanaTimeZoneId)
at Volo.Abp.Timing.TimeZoneHelper.<>c.<GetTimezones>b__0_1(NameValue x)
at System.Linq.Enumerable.IteratorSelectIterator2.ToList() at Volo.Abp.Timing.TimeZoneHelper.GetTimezones(List1 timezones)
at Volo.Abp.Account.ProfileAppService.GetTimezonesAsync()
1 Answer(s)
-
0
The GetContextManyAsync second result shows an error "fetch failed", but we still got some context chunks; nothing about Africa/Asmera. Need to search code repo for TimeZoneHelper and version 10 changes, and maybe TimeZoneConverter usage. Next: use list_repos result to know repo id for abpframework, then search_code for TimeZoneHelper and Africa/Asmera. Repo listing failed (auth). But I must still call search_code per instructions; without repoId it'll search all.
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.