Project

General

Profile

Actions

Bug #72556

closed

Move placeholder won't be removed anymore in explicitADmode=>explicitAllow environments

Added by Uwe Trotzek almost 9 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Start date:
2016-01-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Yes
Sprint Focus:

Description

When you have an instance with

'explicitADmode' => 'explicitAllow'

then the value in field list_type is important.

Because the Default Value of the column 'list_type' in the database differs from the default value defined in TCA, it will happen that the value for Move-Placeholders differs from the original ones.

When a non admin user tries to publish moved records, he cannot remove the Move-Placeholders because he has no permissions for list_type '0'.

How to reproduce:
- define 'explicitADmode' => 'explicitAllow'
- add non admin User as workspace owner
- go to draft mode
- create and publish a text element on a page
- move the element to another location
- publish the elemtent

The Move-Placeholder wont be removed and causes some follow up problems.

Quick Fix:
I don't know if changing the DB default value to '' has some side effects so I fixed it by adding:

'shadowColumnsForMovePlaceholders' => 'list_type',

to tt_content TCA.

Actions

Also available in: Atom PDF