Bug #86964

Default value of a property reflection can't be accessed anymore

Added by Romain Canon 12 months ago. Updated 6 months ago.

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

100%

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

Description

Due to the refactoring of the reflection service and associated classes, the default value of a property can't be easily accessed anymore.

The method `\TYPO3\CMS\Extbase\Reflection\ClassSchema::reflectProperties` should save default properties values as well.

Associated revisions

Revision e80589bb (diff)
Added by Romain Canon 10 months ago

[FEATURE] Add properties default values in class schema

Allows accessing the default values of a class property, without having
to use the reflection everytime it is needed.

The default value can be accessed with the key `defaultValue` in the
property schema.

Resolves: #86964
Releases: master
Change-Id: I17c1dfd3db9c26deaffd760270e480543521a9a4
Reviewed-on: https://review.typo3.org/58923
Reviewed-by: Alexander Schnitzler <>
Tested-by: Alexander Schnitzler <>
Tested-by: TYPO3com <>
Reviewed-by: Mona Muzaffar <>
Tested-by: Mona Muzaffar <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review 12 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/58923

#2 Updated by Gerrit Code Review 12 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/58923

#3 Updated by Gerrit Code Review 12 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/58923

#4 Updated by Gerrit Code Review 12 months ago

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

#5 Updated by Gerrit Code Review 12 months ago

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

#6 Updated by Gerrit Code Review 10 months ago

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

#7 Updated by Romain Canon 10 months ago

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

#8 Updated by Benni Mack 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF