Project

General

Profile

Actions

Bug #92119

closed

Hiding field colPos for backend users breaks normal content creation and moving content between columns

Added by Loek Hilgersom over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2020-08-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Steps to reproduce:

  • Hide the field by TSConfig (TCEFORM.tt_content.colPos.disabled = 1) or for editors through access lists in a BE-group
  • Go to the page module and create a content element in any available column, except the one with colPos=0

Result: the content element is always created with colPos=0, also when created in another column. That may be fine in the List-module, in the Page-module this is very much unexpected and undesired behaviour.

There is a difference in behaviour between hiding through TSConfig or Access Lists:

If 'colPos' is not enabled in the access list for editors, they are NOT AT ALL able to move content the desired columns: you can drag content to another column in the Page Module and the content appears to be moved correcty, but if you reload the page in the backend you'll find that nothing has changed.

Conclusion:
  • not enabling colPos in an access list breaks moving content to other columns completely for non-admins
  • hiding colPos in TSConfig also results in new content always created with colPos=0, regardless in which column you create it. But in this case, you can drag it to the right column afterwards, but of course that's a drag :-)

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #88456: Creating a record with read-only fields loses their default valuesClosed2019-05-29

Actions
Related to TYPO3 Core - Bug #75514: Display Condition in TCAClosed2016-04-11

Actions
Related to TYPO3 Core - Feature #53239: TCEFORM disabled field must be not rendered but still editableClosed2013-10-31

Actions
Related to TYPO3 Core - Bug #92202: Hiding field colPos through access lists breaks dragging content between columnsClosed2020-09-04

Actions
Actions

Also available in: Atom PDF