Skip to content

Commit

Permalink
TASK: Adjust to fluid changes
Browse files Browse the repository at this point in the history
Avoid fatal error due to changes in fluid.

See TYPO3/Fluid#813
  • Loading branch information
kitsunet committed Nov 29, 2023
1 parent 51c3bf0 commit ee13e7b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Classes/Core/Renderer/FluidFormRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,6 @@ public function renderRenderable(RootRenderableInterface $renderable)
return $output;
}

public function renderPartial($partialName, $sectionName, array $variables, $ignoreUnknown = false)
{
return parent::renderPartial($partialName, $sectionName, $variables, $ignoreUnknown); // TODO: Change the autogenerated stub
}

/**
* @param array $renderingOptions
* @return TemplatePaths
Expand Down Expand Up @@ -252,7 +247,7 @@ protected function getPathAndFilenameForRenderable($renderableType, array $rende
if (!isset($renderingOptions['templatePathPattern'])) {
throw new RenderingException(sprintf('The Renderable "%s" did not have the rendering option "templatePathPattern" defined.', $renderableType), 1326094041);
}
list($packageKey, $shortRenderableType) = explode(':', $renderableType);
[$packageKey, $shortRenderableType] = explode(':', $renderableType);

return strtr($renderingOptions['templatePathPattern'], array(
'{@package}' => $packageKey,
Expand All @@ -277,7 +272,7 @@ protected function getPathAndFilenameForRenderableLayout($renderableType, array
if (!isset($renderingOptions['layoutPathPattern'])) {
throw new RenderingException(sprintf('The Renderable "%s" did not have the rendering option "layoutPathPattern" defined.', $renderableType), 1326094161);
}
list($packageKey, $shortRenderableType) = explode(':', $renderableType);
[$packageKey, $shortRenderableType] = explode(':', $renderableType);

return strtr($renderingOptions['layoutPathPattern'], array(
'{@package}' => $packageKey,
Expand All @@ -301,7 +296,7 @@ protected function getPartialPathAndFilename($renderableType)
if (!isset($renderingOptions['partialPathPattern'])) {
throw new RenderingException(sprintf('The Renderable "%s" did not have the rendering option "partialPathPattern" defined.', $renderableType), 1326713352);
}
list($packageKey, $shortRenderableType) = explode(':', $renderableType);
[$packageKey, $shortRenderableType] = explode(':', $renderableType);

$partialPath = strtr($renderingOptions['partialPathPattern'], array(
'{@package}' => $packageKey,
Expand Down

0 comments on commit ee13e7b

Please sign in to comment.