You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when Globals.GetCultureCode called from scheduler, it will throw out null reference exception, this caused by commit #9ab22767, PortalController.Instance.GetCurrentPortalSettings() doesn't exist in sub thread. i think the code need change to: var portalSettings = PortalController.Instance.GetCurrentPortalSettings(); cultureCode = portalSettings?.DefaultLanguage ?? Thread.CurrentThread.CurrentCulture.Name;
Affected version
9.3.0
The text was updated successfully, but these errors were encountered:
Description of bug
when Globals.GetCultureCode called from scheduler, it will throw out null reference exception, this caused by commit #9ab22767, PortalController.Instance.GetCurrentPortalSettings() doesn't exist in sub thread. i think the code need change to:
var portalSettings = PortalController.Instance.GetCurrentPortalSettings(); cultureCode = portalSettings?.DefaultLanguage ?? Thread.CurrentThread.CurrentCulture.Name;
Affected version
The text was updated successfully, but these errors were encountered: