question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Site Settings not working after setup "PRIVACY" section on multi language (fa-ir , ar-sa)

See original GitHub issue

Description 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:

  1. Go to ‘Site Settings’
  2. Active multi language : example (en-us , fa-ir) or (en-us , ar-sa)
  3. open website with fa-ir language
  4. Go to ‘Site Settings > Site Behavior > PRIVACY’
  5. Setup and Config ‘COOKIE CONSENT SETTINGS’ and ‘DATA CONSENT SETTINGS’
  6. Save and Restart Application
  7. 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 : privacy9 4 0

error940-a

error940-b

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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
valadascommented, Sep 24, 2019

I did not have time to test this but assigning to 9.4.1 for now

2reactions
donkercommented, Sep 27, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found