Site Settings not working after setup "PRIVACY" section on multi language (fa-ir , ar-sa)
See original GitHub issueDescription of bug
Site Settings not working after setup “PRIVACY” section on multi language (fa-ir , ar-sa)
Errors are listed in the screenshots section.
Steps to reproduce
List the steps to reproduce the behavior:
- Go to ‘Site Settings’
- Active multi language : example (en-us , fa-ir) or (en-us , ar-sa)
- open website with fa-ir language
- Go to ‘Site Settings > Site Behavior > PRIVACY’
- Setup and Config ‘COOKIE CONSENT SETTINGS’ and ‘DATA CONSENT SETTINGS’
- Save and Restart Application
- Go to ‘Site Settings’ See error only (fa-ir , ar-sa)
Current result
Explain what the current result is.
Expected result
Provide a clear and concise description of what you expected to happen.
Screenshots
Main error :
Error log
root/API/PersonaBar/SiteSettings/GetDefaultPagesSettings?portalId=0&cultureCode=fa-IR error :
<Error>
<Message>An error has occurred.</Message>
<ExceptionMessage>String was not recognized as a valid DateTime.</ExceptionMessage>
<ExceptionType>System.FormatException</ExceptionType>
<StackTrace>
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at DotNetNuke.Entities.Portals.PortalSettingsController.LoadPortalSettings(PortalSettings portalSettings) at DotNetNuke.Entities.Portals.PortalSettings.BuildPortalSettings(Int32 tabId, PortalInfo portal) at Dnn.PersonaBar.SiteSettings.Services.SiteSettingsController.GetDefaultPagesSettings(Nullable`1 portalId, String cultureCode)
</StackTrace>
</Error>
Additional context
Add any other context about the bug that may be helpful for resolution.
Affected version
- 10.0.0 nightly build
- 9.4.1 nightly build
- 9.4.0 latest supported release
Affected browser
- Chrome
- Firefox
- Safari
- Internet Explorer
- Edge
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Hotline Highlight – Nothing New – ARSA
The hotline – ARSA's premier member newsletter – contains news, editorial content, analysis and resources for the aviation maintenance community.
Read more >Untitled
A quiet place english subtitles reddit, Grass fed cow milk taste, Languages need to be known to create artificial intelligience ui, How to...
Read more >10.5.1 Privacy Policy | Internal Revenue Service
1 addresses IRS personnel responsible for ensuring adequate privacy and information protection for all Sensitive but Unclassified (SBU) data, including taxpayer ...
Read more >Configuration in Google News editor for multi-language sites.
Configuration in Google News editor for multi-language sites. ... I want to know why this is happening and how can I fix it....
Read more >Untitled
Destring stata does not work, Brookdale lincroft bookstore, Vl 4112, Corpo invaso ... Vlc powerpc g3, Facebook privacy settings meme, Evan era paper...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I did not have time to test this but assigning to 9.4.1 for now
A fix has been merged into the 9.4.1 release. This should fix the issue. If you see any more issues try resetting the consents using the button on the Site Settings screen while logged in with a locale that has access.
The core of the issue is the way the date is stored in SQL in the PortalSettings table (key = “DataConsentTermsLastChange”). This was done using a generic universal format. It will now be stored in a so-called round-trip format (more robust to storage and retrieval).
It impacted (as far as I can tell) only non-“Western” sites (i.e. ones with divergent calendars from the Gregorian that we use) under that locale.