Feature #46048
Allow unknown / disallowed properties to be skipped
Status: | Resolved | Start date: | 2013-03-05 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Property | |||
Target version: | TYPO3 Flow Base Distribution - 2.1 | |||
PHP Version: | Complexity: | |||
Has patch: | No |
Description
When using the PropertyMapper, it is useful to allow for partial mapping of sources to a target. This way one can skip certain values in the source. Right now this is not possible, one can only map all source properties.
I suggest to add skipProperties($name [, $name])
like the existing allowProperties()
and skipUnknownProperties()
like the existing mapUnknownProperties()
Related issues
Associated revisions
[FEATURE] Allow unknown / disallowed properties to be skipped
This adds skipUnknownProperties() and skipProperties() to the
PropertyMappingConfiguration. If configured to skip all unknown or the
given properties, the PropertyMapper will not throw an error if they
are found in the source when doing property mapping.
Change-Id: I9c60b1f14e8976c2724b62adcc086dcc81815614
Resolves: #46048
Releases: master
History
#1 Updated by Gerrit Code Review over 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18725
#2 Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18725
#3 Updated by Alexander Berl over 2 years ago
Should be closed, change is merged.
#4 Updated by Karsten Dambekalns over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100