Bug with multi mandate and customer account emails from scheduler?
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Bug with multi mandate and customer account emails from scheduler?
Hi,
I think I found a bug when having multiple mandates and a cron job for each of them for customer account emails.
Now, if anybody makes an order in shop 1 (kleinundfein) he gets an email from shop two (einwirken), even if there are two cronjobs, and only one site assigned in the cron job (s. attachments).
He now gets an email with correct user credentials but with wrong URL (from shop 2) to login.
Thanks for help,
Kurt
TYPO3 9.5.23
Aimeos: 20.10.3-pre2
PHP: 7.3.26
I think I found a bug when having multiple mandates and a cron job for each of them for customer account emails.
Now, if anybody makes an order in shop 1 (kleinundfein) he gets an email from shop two (einwirken), even if there are two cronjobs, and only one site assigned in the cron job (s. attachments).
He now gets an email with correct user credentials but with wrong URL (from shop 2) to login.
Thanks for help,
Kurt
TYPO3 9.5.23
Aimeos: 20.10.3-pre2
PHP: 7.3.26
- Attachments
-
- kleinundfein
- kleinundfein.png (10.26 KiB) Viewed 3061 times
-
- einwirken
- einwirken.png (10.34 KiB) Viewed 3061 times
Re: Bug with multi mandate and customer account emails from scheduler?
Do you also use different page IDs in the field for the login PID of the two Aimeos advanced scheduler task?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Bug with multi mandate and customer account emails from scheduler?
Yes, I do. But to be sure that I understand you correctly, I attach the two different screenshots from the scheduler.
- Attachments
-
- einwirken.png (7.94 KiB) Viewed 3019 times
-
- kleinundfein.png (7.76 KiB) Viewed 3019 times
Re: Bug with multi mandate and customer account emails from scheduler?
That's strange. The only reason why this could happen is that one of the PIDs for the Login page is wrong or the page is disabled. Can you check what PID is used here:
https://github.com/aimeos/aimeos-typo3/ ... e.php#L144
https://github.com/aimeos/aimeos-typo3/ ... e.php#L144
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Bug with multi mandate and customer account emails from scheduler?
That pid returns the detail page ID, but not the login page. It correctly returns the given detail page.
Re: Bug with multi mandate and customer account emails from scheduler?
The PID of the detail page is OK. Isn't your login page in the same subtree as the detail page?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Bug with multi mandate and customer account emails from scheduler?
not really... should it be?
- Attachments
-
- aimeos.png (9.24 KiB) Viewed 2949 times
Re: Bug with multi mandate and customer account emails from scheduler?
It's OK because it's in the same subtree for the same site configuration. Don't know why TYPO3 generates a link to the wrong login page.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Bug with multi mandate and customer account emails from scheduler?
Hi,
If TYPO3 uses the - felogin extension for login, then you need to correctly configure the links of this extension (see screenshot):
If TYPO3 uses the - felogin extension for login, then you need to correctly configure the links of this extension (see screenshot):
- Attachments
-
- felogin.png (57.15 KiB) Viewed 2913 times
Re: Bug with multi mandate and customer account emails from scheduler?
I did that and tested it, but still it didn't work.
It seems that it takes the first scheduler record and sends it via this one, no matter what mandate is chosen in the scheduler configuration...
It seems that it takes the first scheduler record and sends it via this one, no matter what mandate is chosen in the scheduler configuration...
- Attachments
-
- scheduler.png (22.06 KiB) Viewed 2907 times