Bug #38936
Missing "Subject for Email to Receiver" throws execption
| Status: | Rejected | Start date: | 2012-07-13 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Tomas Norre Mikkelsen | % Done: | 0% |
|
| Category: | Frontend Plugin | |||
| Target version: | 2.x | |||
| Votes: | 0 |
Description
Hi,
If you forget to set "Subject for Email to Receiver" it throws an execption.
#1243258395: The flash message must be string, NULL given. (More information) InvalidArgumentException thrown in file ...../typo3_src-4.7.2/typo3/sysext/extbase/Classes/MVC/Controller/FlashMessages.php in line 58.
Either the field should be mandatory, or the execptionhandling should be made different.
As fair as i know/tested, there is no problem with the similar field: "Subject for Email to Sender"
History
Updated by Alex Kellner 11 months ago
- Category set to Frontend Plugin
- Status changed from New to Needs Feedback
- Assignee set to Tomas Norre Mikkelsen
- Target version set to 2.x
Tested it with some empty fields - but I get no error message.

Updated by Alex Kellner 11 months ago
Any hints for me?
Updated by Rob De Vries 9 months ago
Same problem with 4.7.0 and pm 2.0.2 on a windows wamp
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1243258395: The flash message must be string, NULL given. | InvalidArgumentException thrown in file C:\Websites\www.***.be\typo3\sysext\extbase\Classes\MVC\Controller\FlashMessages.php in line 57. Requested URL: http://www.***.be/contact/laat-ons-praten/?tx_powermail_pi1%5Baction%5D=create&tx_powermail_pi1%5Bcontroller%5D=Forms
commenting out line 57 in extbase\Classes\MVC\Controller\FlashMessages.php 'resolves' the problem. but I don't think it is the solution.
Updated by Alex Kellner 8 months ago
- Status changed from Needs Feedback to Rejected
Can't see a problem on my testsystems
Empty Subjects are allowed and should just disable the mail sending.