Project

General

Profile

Actions

Bug #98425

closed

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

Added by fulai zhang about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-09-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

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 <img> hinzufügt.

Actions #1

Updated by fulai zhang about 2 years ago

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 <img> 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;

Actions #2

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77563

Actions #3

Updated by Gerrit Code Review almost 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77573

Actions #4

Updated by Benni Mack almost 2 years ago

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

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF