Fluid
Fluid copied to clipboard
[BUGFIX] Fix contentAs feature when used on Layout level
<f:render section="MySection" contentAs="content">some content</f:section>
does not work when called from a Layout because the content
variable is not passed to the section in that case.
Coverage decreased (-0.07%) to 97.091% when pulling 68db27f83e55fcd4bf1c986f8a52b2fb86768746 on smichaelsen:contentas-in-layout into ae2d3d7ac201046275418c876fb82b63759678b1 on TYPO3:master.
Thanks for the report and fix. Would you be able to add a functional test case for this? You can have a look at the existing tests.
Thanks for your feedback, Mathias. I fear I can't add a test at the moment (deadlines and stuff). Would that block my PR from being merged?
Of course not. I'll have a look at this.
@NamelessCoder I've added a test for this now which looks basically correct but still fails. Can you have a look?