U4-7214 - Culture is not supported. Parameter name: name en_us is an invalid culture identifier error selecting user with different language after upgrade to 7.3.0

Created by B Koch 08 Oct 2015, 17:26:51 Updated by Sebastiaan Janssen 27 Oct 2015, 10:28:03

Is duplicated by: U4-7280

In version 7.2.8 add user - default is English(UK), change Language to English(US) Manual Upgrade site to 7.3.0 Click on the user(s) who had English(US) as their language receive yellow screen (see picture) with error: Culture is not supported. Parameter name: name en_us is an invalid culture identifier

Unable to edit user information for this user

1 Attachments

Comments

Sebastiaan Janssen 09 Oct 2015, 08:42:51

I can repro, this happens after an upgrade because we used to store the en-US culture as en_us, now we store it as en-us. Think this should be handled in a migration during upgrades.

For now, you can manually edit the stored user's culture in the database (table umbracoUser, column UserLanguage) and change them to en-us so that you can edit them again. Note: after changing the value in the database you need to recycle your application pool before you can edit the user.


Shannon Deminick 27 Oct 2015, 10:24:09

This is fixed:

  • there's a db upgrade script for 7.3.1 which will normalize the storage of the user's language in the db
  • there's a fix for normalizing the stored user's language in c# so it doesn't actually matter if the migration script is executed

PR: https://github.com/umbraco/Umbraco-CMS/pull/839


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category: Architecture

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.3.0

Due in version: 7.3.1

Sprint: Sprint 2

Story Points:

Cycle: