Bug with multi mandate and customer account emails from scheduler?

Questions around the TYPO3 integration and plugins
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!
promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Bug with multi mandate and customer account emails from scheduler?

Post by promptnet » 27 Jan 2021, 13:11

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
Attachments
kleinundfein
kleinundfein
kleinundfein.png (10.26 KiB) Viewed 3029 times
einwirken
einwirken
einwirken.png (10.34 KiB) Viewed 3029 times

User avatar
aimeos
Administrator
Posts: 7881
Joined: 01 Jan 1970, 00:00

Re: Bug with multi mandate and customer account emails from scheduler?

Post by aimeos » 29 Jan 2021, 09:39

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, Image give us a star

promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Re: Bug with multi mandate and customer account emails from scheduler?

Post by promptnet » 01 Feb 2021, 10:30

Yes, I do. But to be sure that I understand you correctly, I attach the two different screenshots from the scheduler.
Attachments
einwirken.png
einwirken.png (7.94 KiB) Viewed 2987 times
kleinundfein.png
kleinundfein.png (7.76 KiB) Viewed 2987 times

User avatar
aimeos
Administrator
Posts: 7881
Joined: 01 Jan 1970, 00:00

Re: Bug with multi mandate and customer account emails from scheduler?

Post by aimeos » 03 Feb 2021, 08:13

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Re: Bug with multi mandate and customer account emails from scheduler?

Post by promptnet » 03 Feb 2021, 13:09

That pid returns the detail page ID, but not the login page. It correctly returns the given detail page.

User avatar
aimeos
Administrator
Posts: 7881
Joined: 01 Jan 1970, 00:00

Re: Bug with multi mandate and customer account emails from scheduler?

Post by aimeos » 05 Feb 2021, 09:15

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, Image give us a star

promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Re: Bug with multi mandate and customer account emails from scheduler?

Post by promptnet » 05 Feb 2021, 15:29

not really... should it be?
Attachments
aimeos.png
aimeos.png (9.24 KiB) Viewed 2917 times

User avatar
aimeos
Administrator
Posts: 7881
Joined: 01 Jan 1970, 00:00

Re: Bug with multi mandate and customer account emails from scheduler?

Post by aimeos » 08 Feb 2021, 07:53

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, Image give us a star

georgood
Posts: 7
Joined: 21 Nov 2020, 17:22

Re: Bug with multi mandate and customer account emails from scheduler?

Post by georgood » 08 Feb 2021, 08:02

Hi,
If TYPO3 uses the - felogin extension for login, then you need to correctly configure the links of this extension (see screenshot):
Attachments
felogin.png
felogin.png (57.15 KiB) Viewed 2881 times

promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Re: Bug with multi mandate and customer account emails from scheduler?

Post by promptnet » 08 Feb 2021, 09:49

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...
Attachments
scheduler.png
scheduler.png (22.06 KiB) Viewed 2875 times

Post Reply