Issue Bug Closed

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

Uwe Trotzek 01/06/16, 14:45 updated 10/21/21, 14:36

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.

Reviews 1