yireo / Yireo_EmailTester2

Open Software License 3.0
29 stars 8 forks source link

Logged out after sending email #6

Open simthax opened 1 year ago

simthax commented 1 year ago

Hello,

I installed the module on EE 2.4.4-p2 project. When I click on the send email button, the email is sent but I am always redirected to the login page (logged out) after that. Do you have any idea what would be the problem? I already tried to deactivate modules that may interfere with it, and increased the admin session lifetime but no luck.

Thanks

jissereitsma commented 1 year ago

Could you double-check the version that you are currently using? This issue popped up 2 years ago and with current versions I'm unable to reproduce it.

simthax commented 1 year ago

The installed version is 1.6.25

jissereitsma commented 1 year ago

Thanks, so that's the latest version indeed.

I'm not getting the same results, so am unable to duplicate anything here. The only thing that I can think of is that the EmailTester is "emulating" the frontend for various reasons (translations, blocks, customer records, XML layout features, etcetera). While this is done in the official Magento way, it could be that a third party extension is picking up on one of the EmailTester events or the handling of blocks, while not checking if the current application is the backend (area is adminh_html) which could again cause the admin session to be wiped. Still, I get the feeling this is due to a third party extension ...