Bug #85071
closedcolumnsOverrides doesn't override "exclude" settings
0%
Description
I created a couple of new CEs and some need to have "pages" enabled - so i tried the following:
'new_contentelement' => [
'showitem' => '
-- Palettes etc., no relevant data
',
'columnsOverrides' => [
'pages' => [
'exclude' => false, //not working for Usergroup...
'config' => [
'maxitems' => 5, //works like a charm
]
],
],
],
Then i cleared the cache, logged into the User which should edit the CE and i saw the pages field and could add/delete pages but after i saved the CE the element was empty.
Then i added some pages with the admin user - worked without problems -, logged in with the user which should edit the CE and he saw the new added pages but couldn't add/delete pages by himself.
Updated by Benni Mack over 6 years ago
- Target version changed from 8.7.15 to 8.7.19
Updated by Susanne Moog about 6 years ago
- Target version changed from 8.7.19 to Candidate for patchlevel
Updated by Christian Kuhn about 6 years ago
- Status changed from New to Rejected
Yeah. I'm sorry, but that's not possible. 'exclude' is a 'display / proc' property, and columnsOverrides only allows to override 'display only' properties. This restriction will not change in the forseeable future.