Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The cObject Viewhelpers not working in RTE with TYPO3 12.4 #990

Open
t3touch opened this issue Mar 8, 2024 · 3 comments
Open

The cObject Viewhelpers not working in RTE with TYPO3 12.4 #990

t3touch opened this issue Mar 8, 2024 · 3 comments

Comments

@t3touch
Copy link

t3touch commented Mar 8, 2024

If I add an inline VH in an RTE field these error occours:

(1/1) TypeError
TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper::getContentObjectRenderer(): Argument #1 ($request) must be of type Psr\Http\Message\ServerRequestInterface, null given, called in /var/www/html/vendor/typo3/cms-fluid/Classes/ViewHelpers/CObjectViewHelper.php on line 130

at TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper::renderStatic(array('data' => null, 'typoscriptObjectPath' => 'lib.test', 'currentValueKey' => null, 'table' => ''), object(Closure), object(TYPO3\CMS\Fluid\Core\Rendering\RenderingContext))

@lisardo2
Copy link

Same problem here: https://stackoverflow.com/questions/78168005/typoscriptobjectpath-throws-error-in-powermail-12
the error is only thrown in the frontend output not in the mail templates. See:

public static function getDefaultStandAloneView(

@julianhofmann
Copy link
Contributor

@adudtkowski
Copy link

I had the same problem when using f:cObject in the RTE for sender mail content (powermail 12.3.1, TYPO3 12.4.14).

This patch helped in my usecase:
powermail-fix-cObject-viewhelper-in-rte.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants