Project

General

Profile

Actions

Bug #75296

closed

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

Added by José Ricardo about 8 years ago. Updated over 6 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 #1

Updated by Morton Jonuschat about 8 years ago

  • Status changed from New to Accepted
  • Assignee set to Morton Jonuschat
  • Target version set to next-patchlevel
Actions #2

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47413

Actions #3

Updated by Morton Jonuschat about 8 years ago

  • Target version changed from next-patchlevel to 8.1
Actions #4

Updated by Gerrit Code Review about 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47413

Actions #5

Updated by Morton Jonuschat about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF