Bug #72556
closedMove placeholder won't be removed anymore in explicitADmode=>explicitAllow environments
0%
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.