Feature #46061

Allow use of ArrayConverter to partially map arrays to arrays

Added by Karsten Dambekalns over 2 years ago. Updated about 2 years ago.

Status:Resolved Start date:2013-03-06
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Property
Target version:-
PHP Version: Complexity:
Has patch:No

Description

Settings allowed properties on the configuration of the property mapper does not allow to partially map arrays to arrays, because the ArrayConverter always returns the unchanged array.


Related issues

related to TYPO3.Flow - Feature #46048: Allow unknown / disallowed properties to be skipped Resolved 2013-03-05

Associated revisions

Revision ed875023
Added by Karsten Dambekalns over 2 years ago

[FEATURE] Make ArrayConverter map only allowed properties

With this change the ArrayConverter only maps allowed and not skipped
keys from source to target. Of no PropertyMappingConfiguration is given,
it returns the unchanged source array (as before).

Change-Id: I5eaafa9b856cbcc679fa9d1b22e9111cf707d454
Resolves: #46061
Releases: master

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Accepted to Under Review

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18726

#2 Updated by Robert Lemke about 2 years ago

  • Target version deleted (2.1)

#3 Updated by Karsten Dambekalns about 2 years ago

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

Also available in: Atom PDF