Bug #69971

Epic #69955: Optimize new Extbase/ Fluid based rewrite of EXT:form

EXT:form Error at Mail sending / ObjectStorage could not be converted to string

Added by Ralf Zimmermann about 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Form Framework
Target version:
Start date:
2015-09-19
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

The Plain Mail Partials have incorrect settings. This results in:

#1: PHP Catchable Fatal Error: Object of class TYPO3\CMS\Extbase\Persistence\ObjectStorage could not be converted to string in typo3/sysext/fluid/Classes/View/AbstractTemplateView.php

if you try to send a mail


Related issues

Related to TYPO3 Core - Bug #69957: EXT:form - Fix some problems with Container elements Closed 2015-09-24

Associated revisions

Revision 5f42571c (diff)
Added by Ralf Zimmermann about 4 years ago

[BUGFIX] EXT:form - wrong renderPartial arguments

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 <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

History

#1 Updated by Gerrit Code Review about 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43436

#2 Updated by Ralf Zimmermann about 4 years ago

  • Assignee set to Ralf Zimmermann
  • Priority changed from Should have to Must have
  • Parent task set to #69955

#3 Updated by Bjoern Jacob about 4 years ago

  • Target version set to 7.5

#4 Updated by Ralf Zimmermann about 4 years ago

  • Assignee deleted (Ralf Zimmermann)

#5 Updated by Ralf Zimmermann about 4 years ago

  • Status changed from Under Review to Needs Feedback
  • Assignee set to Bjoern Jacob

This is already applied in: https://forge.typo3.org/projects/typo3cms-core/repository/revisions/a81bd7977d41c5f7d2007b6ceaf89fe02f69bf2a
Please test it. If you send a mail, the error from the description should not appear.

#6 Updated by Bjoern Jacob about 4 years ago

This will be fixed with #69957. Closing this issue.

#7 Updated by Bjoern Jacob about 4 years ago

  • Status changed from Needs Feedback to Closed

#8 Updated by Ralf Zimmermann about 4 years ago

  • Subject changed from Error at Mail sending / ObjectStorage could not be converted to string to EXT:form Error at Mail sending / ObjectStorage could not be converted to string
  • Status changed from Closed to New
  • Sprint Focus set to Stabilization Sprint

I reopen this ticket to minimize the review: https://review.typo3.org/#/c/43515/

The Plain Mail Partials have incorrect settings. This results in:

#1: PHP Catchable Fatal Error: Object of class TYPO3\CMS\Extbase\Persistence\ObjectStorage could not be converted to string in typo3/sysext/fluid/Classes/View/AbstractTemplateView.php

Affected Parts:

  • form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Plain/ContainerElements/Checkboxgroup.html
  • form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Plain/ContainerElements/Fieldset.html
  • form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Plain/ContainerElements/Radiogroup.html
  • form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/ContainerElements/Checkboxgroup.html
  • form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/ContainerElements/Fieldset.html
  • form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/ContainerElements/Radiogroup.html

Test:

The plain mail part of a mail must have data and / or no fatal will be thrown

#9 Updated by Gerrit Code Review about 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43538

#10 Updated by Ralf Zimmermann about 4 years ago

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

#11 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF