in2code-de / luxletter

Newsletter system for TYPO3
https://www.in2code.de/agentur/typo3-extensions/luxletter/
23 stars 25 forks source link

Sending testmail via "Send a test mail to yourself" is broken #139

Closed ses2013 closed 1 year ago

ses2013 commented 1 year ago

Can not send test mail

#1425389240 TYPO3\CMS\Backend\Routing\Exception\ResourceNotFoundException
The requested resource "%/ajax%/luxletter%/testMail" was not found.
einpraegsam commented 1 year ago

I cannot reproduce this issue. Can you tell me a bit more about your environment? Caches are cleaned I guess?

ses2013 commented 1 year ago

I have this since and after updating from version 4.3.x Before it worked. Composer Install of 10.4.32 Php 7.4.7

Mail Test Setup works. Cache cleared several times.

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: Creating default object from empty value in /home/users/tim-typo3/htdocs/www.xxx.de/docroot/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 707 | TYPO3\CMS\Core\Error\Exception thrown in file /home/users/tim-typo3/htdocs/xxx.de/docroot/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 134. Requested URL: https://www.xxx.de/typo3/index.php?route=%%2Fajax%%2Fluxletter%%2FtestMail&token=--AnonymizedToken--&origin=1571&email=ses%%40xxx.de&subject=test&configuration=1&layout=CTMNewsletter

einpraegsam commented 1 year ago

I just tested again on 10.4.32 (composer mode) with luxletter 17.0.2 and see no problems when sending testmails. To be sure, when you upgrade from version 4 to 17 - did you see the breaking changes and did the todos: https://github.com/in2code-de/luxletter/blob/develop/Documentation/Changelog/Index.md#upgrade-to-5x

einpraegsam commented 1 year ago

Any feedback?

ses2013 commented 1 year ago

I upgrade with every step necessary and since the update to 5.x.x the problem occured – as far as I can remember. Is the URl above OK? Because when I try that in the frontend I get the error in the first post.

einpraegsam commented 1 year ago

Seems to be ok for me. I have no clue how to help you here without a deeper debugging...

ses2013 commented 1 year ago

What will be shown in your enviroment when you open the link in the FE?

einpraegsam commented 1 year ago

testemail This is the AJAX request in the browser

einpraegsam commented 1 year ago

Any feedback for me? Otherwise I have to close this issue.

ses2013 commented 1 year ago

Sending with typo3 11.5.x Exact same configuration is working though!

einpraegsam commented 1 year ago

I think this is somehow related to your instance. I'm going to close this issue at the moment. Feel free to reopen of same problem occurs on other systems.