[BUGFIX] EXT:form - wrong renderPartial arguments 38/43538/2
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Thu, 24 Sep 2015 19:21:53 +0000 (21:21 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 25 Sep 2015 08:50:21 +0000 (10:50 +0200)
Change partial="{model.childElements}" to
partial="{element.partialPath}"
in the plain mail postProcessor partials.

Resolves: #69971
Releases: master
Change-Id: I445d888db85766f844f6bd4c5988e0ddc8542629
Reviewed-on: http://review.typo3.org/43538
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Plain/ContainerElements/Checkboxgroup.html
typo3/sysext/form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Plain/ContainerElements/Fieldset.html
typo3/sysext/form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Plain/ContainerElements/Radiogroup.html
typo3/sysext/form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/ContainerElements/Checkboxgroup.html
typo3/sysext/form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/ContainerElements/Fieldset.html
typo3/sysext/form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/ContainerElements/Radiogroup.html

index a39f3a2..2a2a5e6 100644 (file)
@@ -1 +1 @@
-{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.additionalArguments.atLeastOneCheckedChildElement}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{model.childElements}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
+{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.additionalArguments.atLeastOneCheckedChildElement}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
index 1f3fc4d..7bfa283 100644 (file)
@@ -1 +1 @@
-{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.childElements.0}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{model.childElements}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
+{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.childElements.0}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
index a39f3a2..2a2a5e6 100644 (file)
@@ -1 +1 @@
-{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.additionalArguments.atLeastOneCheckedChildElement}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{model.childElements}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
+{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.additionalArguments.atLeastOneCheckedChildElement}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
index a39f3a2..2a2a5e6 100644 (file)
@@ -1 +1 @@
-{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.additionalArguments.atLeastOneCheckedChildElement}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{model.childElements}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
+{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.additionalArguments.atLeastOneCheckedChildElement}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
index 1f3fc4d..7bfa283 100644 (file)
@@ -1 +1 @@
-{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.childElements.0}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{model.childElements}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
+{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.childElements.0}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
index a39f3a2..2a2a5e6 100644 (file)
@@ -1 +1 @@
-{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.additionalArguments.atLeastOneCheckedChildElement}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{model.childElements}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file
+{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.additionalArguments.atLeastOneCheckedChildElement}"><f:if condition="{model.showElement}"><f:then><form:plainMail labelContent="{model}" newLineAfterLabel="1" indent="4" /><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for><form:plainMail indent="-4"/></f:then><f:else><f:for each="{model.childElements}" as="element"><f:render partial="{element.partialPath}" arguments="{model: element}" /></f:for></f:else></f:if></f:if>
\ No newline at end of file