Project

General

Profile

Actions

Bug #79447

closed

Unify usage of fe_group in tables of TYPO3 core

Added by Manuel Selbach about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2017-01-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The column "fe_group" is defined as varchar everywhere in the core except in table "sys_collection".
This will cause some problems with some DBMS (e.g. PostgreSQL) as the FrontendGroupRestriction::class will generate a query which will e.g. check against empty string.
Thus the column "fe_group" should be unified to varchar.

Example:
The following tests fail with the column "fe_group" defined as integer:
- RecordCollectionRepositoryTest::doesFindByUidReturnAnObjectInFrontendMode
- RecordCollectionRepositoryTest::doesFindByUidRespectEnableFieldsInFrontendMode

Actions

Also available in: Atom PDF