[TASK] Switch UserStorageCapabilityService to a renderType
Using a TCA type=user with a custom renderType is much more elegant since the registered element can then fully access $this->data and has control of node expansion and all the other goodies that come with own renderType in comparison to the shabby limited type=user with userFunc. The patch switches the 'is_public' type=user userFunc to a proper renderType and fixes the incomplete HTML of this field along the way. Note a type=check with own renderType is not possible in this case since the config has no items array. Resolves: #86109 Releases: master Change-Id: I72507a4660fc64e5c2df60768564a788a4c38a05 Reviewed-on: https://review.typo3.org/58141 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/backend/Classes/Form/Element/CheckboxToggleElement.php 1 addition, 1 deletion...xt/backend/Classes/Form/Element/CheckboxToggleElement.php
- typo3/sysext/backend/Classes/Form/Element/UserSysFileStorageIsPublicElement.php 129 additions, 0 deletions...lasses/Form/Element/UserSysFileStorageIsPublicElement.php
- typo3/sysext/backend/Classes/Form/NodeFactory.php 2 additions, 0 deletionstypo3/sysext/backend/Classes/Form/NodeFactory.php
- typo3/sysext/core/Classes/Resource/Service/UserStorageCapabilityService.php 10 additions, 0 deletions...Classes/Resource/Service/UserStorageCapabilityService.php
- typo3/sysext/core/Configuration/TCA/sys_file_storage.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_file_storage.php
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-86109-ClassUserStorageCapabilityService.rst 35 additions, 0 deletions...r/Deprecation-86109-ClassUserStorageCapabilityService.rst
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php 5 additions, 0 deletions...l/Configuration/ExtensionScanner/Php/ClassNameMatcher.php
Loading
Please register or sign in to comment