Bug #46046

JsonView discards array indexes when using _descendAll

Added by Karsten Dambekalns over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
Start date:
2013-03-05
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

When configuring JsonView like

$this->view->setConfiguration(array(
    'value' => array(
        '_descendAll' => array(
            '_descendAll' => array()
        )
    )
));

the result will be stripped of any array keys.

#1

Updated by Gerrit Code Review over 8 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 8 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 8 years ago

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

Also available in: Atom PDF