powermail icon indicating copy to clipboard operation
powermail copied to clipboard

v13 double submits

Open ursbraem opened this issue 7 months ago • 6 comments

We've had double submits with v13 and 13.02. Everything double: database entry, e-mail to sender&receiver.

Switching back to EAP version helped

Image

ursbraem avatar Sep 11 '25 09:09 ursbraem

We can confirm this in v12. We installed the latest TYPO3 security updates on Friday, and the issue has been occurring ever since.

PHP8.3.x TYPO3 12.4.37 Powermail: 12.5.3 Powermail_cond: 11.2.6

dennismetz avatar Sep 15 '25 09:09 dennismetz

@ursbraem Do you also use powermail_cond in your setup?

There is a race condition with ajax requests ...

https://github.com/in2code-de/powermail_cond/issues/109

We are on it.

mschwemer avatar Sep 16 '25 15:09 mschwemer

Hi @mschwemer Yes, absolutely.

	"in2code/powermail": "dev-master",
	"in2code/powermail_cond": "dev-master",

Thanks!

ursbraem avatar Sep 19 '25 15:09 ursbraem

@ursbraem @dennismetz We released a new powermail_cond version yesterday for v12 and v13 compatible versions.

Can you confirm that it is fixed with this release?

mschwemer avatar Oct 02 '25 15:10 mschwemer

Hi @mschwemer, sorry for the late reply. Unfortunately, we still have the problem—sometimes several emails are sent in succession (most recently >20 for one request).

We have now updated to the latest versions: Powermail 13.0.4 Powermail Conditions: 13.1.0 TYPO3 13.4.19

dennismetz avatar Nov 10 '25 15:11 dennismetz

Hi @dennismetz

Over 20 for one submit sounds really weird ... hmm. Until now there were only 2 e-mails per sent form.

I made another release for Powermail cond today, that mitigates another regression with the previous 13.0.3 bugfix release. Does this help?

Is there any other JS on your website, that might be triggering the ajax submit multiple times? TBH I am really puzzled. Can you provide an instance where we (maybe together) can debug this behaviour?

mschwemer avatar Nov 14 '25 16:11 mschwemer

@ursbraem @dennismetz Do you have any updates?

I just rechecked the condition functionality in our development instance, with and without ajax. I always get only one e-mail in the db and mails.

If the issue still exist, can you provide the form and condition configuration?

Thanks in advance.

mschwemer avatar Jan 07 '26 16:01 mschwemer

@mschwemer I will check with our developers

ursbraem avatar Jan 08 '26 07:01 ursbraem

Hey @mschwemer We are on the current releases of both extensions and have not had any negative experiences anymore 🎉

Image

Thank you!

ursbraem avatar Jan 10 '26 19:01 ursbraem

Thanks for your feedback! I will close the issue.

mschwemer avatar Jan 14 '26 16:01 mschwemer