Issue Bug Closed

#73155Mapping alternativaData via stdWrap not working for arrays

Norman Seibert 02/05/16, 17:56 updated 03/05/20, 09:28

Description

TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->getData changed for type “field” from

case ‘field’:
$retVal = $fieldArray[$key];
break;

in TYPO3 6.2 to

case ‘field’:
$retVal = $this->getGlobal($key, $fieldArray);
break;

in TYPO3 7.6.

But this does not work any more with $this->alternativeData set to an array like

Array (
[count] => 5
[0] => CN=…
[1] => CN=…
[2] => CN=…
[3] => CN=…
[4] => CN=…
)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Susanne Moog commented and changed status New Closed 03/05/20, 09:28

    The getGlobal method actually uses the same type of key access as before if alternativeData is given. Please reopen the issue if you still have a problem here, and provide your complete alternative data array.