Task #86109

Switch UserStorageCapabilityService to a renderType

Added by Christian Kuhn 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-09-03
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Related issues

Related to TYPO3 Core - Task #86163: Deprecate TCA type=user without renderType Closed 2018-09-06

Associated revisions

Revision 0aa993e8 (diff)
Added by Christian Kuhn 11 months ago

[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 <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

Revision 2fbbda3d (diff)
Added by Christian Kuhn 10 months ago

[TASK] Deprecate TCA type=user without renderType

Using a custom renderType instead of a userFunc for
type=user TCA elements is much more flexible and suits
better into the overall FormEngine node construct.

The patch deprecates userFunc and outlines details on
how existing ones can be migrated over to custom renderTypes
without much hassle.

Resolves: #86163
Related: #86109
Releases: master
Change-Id: I2bad5f79dab5643efe7f8dc959e788b9426bfdd6
Reviewed-on: https://review.typo3.org/58198
Tested-by: TYPO3com <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review 11 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58141

#2 Updated by Gerrit Code Review 11 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58141

#3 Updated by Gerrit Code Review 11 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58141

#4 Updated by Christian Kuhn 11 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Christian Kuhn 10 months ago

  • Related to Task #86163: Deprecate TCA type=user without renderType added

#6 Updated by Benni Mack 10 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF