in2code-de / luxletter

Newsletter system for TYPO3
https://www.in2code.de/agentur/typo3-extensions/luxletter/
22 stars 25 forks source link

TCA enable fields not configurable #202

Closed garbast closed 6 months ago

garbast commented 9 months ago

In TYPO3 12 'rootLevel' => -1, disables the possibilily to configure enable fields in backend user groups, leaving users unable to edit records like sender configuration.

Please remove said rootLevel config.

einpraegsam commented 9 months ago

Sounds like the issue on forge: https://forge.typo3.org/issues/101633 As far as I remember, the settings is useful as it is.

garbast commented 9 months ago

Yes, that is the problem. But until this is fixed in the core, it would be good to have it changes in the extension table TCA, to allow the usage of this tables.

einpraegsam commented 9 months ago

There will no change in the next days to this. Before we do a workarround for a TYPO3 bug, we discuss this in the team. For now pls overwrite the TCA in your sitepackage.

garbast commented 9 months ago

To all, that have the same problem. I've added a require of "in2code/luxletter" in the composer.json of the sitepackage to load it after luxletter and added a override file tx_luxletter_domain_model_configuration.php with this content

<?php

$GLOBALS['TCA']['tx_luxletter_domain_model_configuration']['ctrl']['rootLevel'] = 0;
garbast commented 6 months ago

Thanks for taking care.

I understand, that the better solution would be to have the core bug fixed, but for now it's working again from a backend editors perspective.

einpraegsam commented 6 months ago

yes I agree with you :)