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 #1

Updated by Loek Hilgersom over 3 years ago

  • Related to Bug #88456: Creating a record with read-only fields loses their default values added
Actions #2

Updated by Loek Hilgersom over 3 years ago

  • Related to Bug #75514: Display Condition in TCA added
Actions #3

Updated by Loek Hilgersom over 3 years ago

  • Related to Feature #53239: TCEFORM disabled field must be not rendered but still editable added
Actions #4

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New 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/c/Packages/TYPO3.CMS/+/65536

Actions #5

Updated by Gerrit Code Review over 3 years ago

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

Actions #6

Updated by Gerrit Code Review over 3 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/c/Packages/TYPO3.CMS/+/65536

Actions #7

Updated by Gerrit Code Review over 3 years ago

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

Actions #8

Updated by Gerrit Code Review over 3 years ago

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

Actions #9

Updated by Gerrit Code Review over 3 years ago

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

Actions #10

Updated by Oliver Bartsch over 3 years ago

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

Updated by Loek Hilgersom over 3 years ago

  • Related to Bug #92202: Hiding field colPos through access lists breaks dragging content between columns added
Actions #12

Updated by Loek Hilgersom over 3 years ago

Just for reference: the merged patch 65536 resolves the problem for hiding colPos by TsConfig.
The issue with hiding colPos in BE-usergroup access lists is now forge issue #92202

Actions #13

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF