Issue Bug Closed

#98425PHP Warning: Undefined array key 1 in */public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 3732

fulai zhang 09/23/22, 09:20 updated 02/08/23, 16:07

Description

in typoscript
tags.img = TEXT
tags.img {
current = 1
preUserFunc = Netresearch\RteCKEditorImage\Controller\ImageRenderingController->renderImageAttributes
}
ich habe update von 10 auf 11 gemacht, im Frontend zeigt diese Fehler immer.
Das Problem ist: in page gibt es ein Content-Element Text&Media und im Richeditor gibt es hinzufügt.

Reviews 2

History 35

  1. fulai zhang commented 09/26/22, 15:52

    fulai zhang wrote:
    > in typoscript
    > tags.img = TEXT
    > tags.img {
    > current = 1
    > preUserFunc = Netresearch\RteCKEditorImage\Controller\ImageRenderingController->renderImageAttributes
    > }
    > ich habe update von 10 auf 11 gemacht, im Frontend zeigt diese Fehler immer.
    > Das Problem ist: in page gibt es ein Content-Element Text&Media und im Richeditor gibt es hinzufügt.

    Lösungsvorschlag:
    line 3732 to 3735
    $newInput = $this->cObjGetSingle($theName, $theConf, ‘/parseFunc/.tags.’ . $tag0);
    // fetch the content object
    $contentAccum[$contentAccumP] = $newInput;
    $this->data[$this->currentValKey] = $contentAccum[$contentAccumP];
    oder line 3732:
    $contentAccum[$contentAccumP] = isset($contentAccum[$contentAccumP])
    ? $contentAccum[$contentAccumP] . $data
    : $data;

  2. Gerrit Code Review pushed patch set 2 for main to change 77563 status New Under Review 01/24/23, 13:47

  3. Gerrit Code Review pushed patch set 1 for 11.5 to change 77573 01/24/23, 14:16

  4. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % 01/24/23, 14:20

    Applied in changeset commit:72b938d42b9204679be07143c3be44b93d844f39.

  5. Benni Mack changed status Resolved Closed 02/08/23, 16:07