Bug #79427

Non-plugin content elements not accessible when list_type not empty

Added by Philipp Kitzberger over 4 years ago. Updated about 1 year ago.

Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2017-01-23
Due date:
% Done:

0%

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

Description

Szenario: Admin creates a content element (CType='plugin'), chooses a valid plugin (e.g. 'powermail_pi1'), saves it and then decides it should be a CType='textmedia' instead. The so modified content element is then not accessible (editable) for editors that lack the right to edit said plugin. Even though it's a textmedia element now.

Somewhere in the access control management procedure the field 'list_type' seems to be taken into account even though it's irrelevant for non plugins.

A workaround would be to run this on the DB:

UPDATE tt_content SET list_type='' WHERE ctype != 'list' AND list_type != '';

Related issues

Related to TYPO3 Core - Bug #77312: Flexform is not rendered in content elements, when list_type is not emptyUnder Review2016-07-29

Actions
Related to TYPO3 Core - Feature #76925: Switching from one content type to another should clear fields not usable anymoreNewBenni Mack2016-07-04

Actions
Related to TYPO3 Core - Feature #88908: Add "migration wizard" when changing CType of content elementsNew2019-08-03

Actions
#1

Updated by Riccardo De Contardi over 3 years ago

  • Related to Feature #76925: Switching from one content type to another should clear fields not usable anymore added
#2

Updated by Riccardo De Contardi about 3 years ago

It is still reproducible on 9.2.0-dev (latest master)

#3

Updated by Christian Eßl over 1 year ago

  • Category set to FormEngine aka TCEforms
#4

Updated by Riccardo De Contardi over 1 year ago

  • Related to Feature #88908: Add "migration wizard" when changing CType of content elements added
#5

Updated by Gerrit Code Review about 1 year 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/+/64082

#6

Updated by Gerrit Code Review about 1 year 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/+/64082

#7

Updated by Gerrit Code Review about 1 year 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/+/64082

#8

Updated by Gerrit Code Review about 1 year 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/+/64082

#9

Updated by Gerrit Code Review about 1 year 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/+/64082

Also available in: Atom PDF