Bug #46046
JsonView discards array indexes when using _descendAll
Status: | Resolved | Start date: | 2013-03-05 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | MVC | |||
Target version: | TYPO3 Flow Base Distribution - 2.0 | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | (any) |
Description
When configuring JsonView like
$this->view->setConfiguration(array( 'value' => array( '_descendAll' => array( '_descendAll' => array() ) ) ));
the result will be stripped of any array keys.
Associated revisions
[BUGFIX] Keep array keys with nested _descendAll in JsonView
When nesting _descendAll the JsonView discards array keys. This change
fixes that.
Change-Id: I84ff434cd3e6768c8e58815d1329a36de8d9e6b7
Fixes: #46046
Releases: master, 2.0
[BUGFIX] Keep array keys with nested _descendAll in JsonView
When nesting _descendAll the JsonView discards array keys. This change
fixes that.
Change-Id: I84ff434cd3e6768c8e58815d1329a36de8d9e6b7
Fixes: #46046
Releases: master, 2.0
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/18724
#2 Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19837
#3 Updated by Karsten Dambekalns over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b21ad76f92ea34d4a0fff26e83c862059e508ca4.