Project

General

Profile

Actions

Bug #75296

closed

Table be_users doesn't support a language key with 2+ chars

Added by José Ricardo over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
Start date:
2016-03-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
be_users language
Complexity:
Is Regression:
No
Sprint Focus:

Description

On table be_users, the column lang is a char(2), which allows language keys like "en" and "de", but does not for "pt_BR" or "fr_CA".
When trying to create a user with these default languages, a flash message is shown:

These fields of record #id# in table "be_users" have not been saved correctly: lang! The values might have changed due to type casting of the database.

Changing the column to varchar(5) solves the problem.

Actions

Also available in: Atom PDF