You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear support,
we meet a problem with the version 6.0.0 on Magento 2.4.5 with these conditions:
new customer that not exist yet on Magento db, but exists on Gigya service
page customer/account/loging
After the customer attempt to logging in (after he has typed username and password into the gigya screenset), no customer is created on magento db and an error occourrs on the frontend. The customer is redirected into the customer/account/register page.
The cause seems be that the customer, hasn't yet addresses when attempt to login and class Gigya/GigyaIM/Model/MagentoCustomerFieldsUpdater.php, method setAccountValues attempt to read a default billing address that does not exist yet on db (customer is created into a mysql transaction but rollbacked later):
because module attempt to save a new address without mandatory fields (postal code, street, and so on....).
Could you support us ?
Thank you,
Gianluca
The text was updated successfully, but these errors were encountered:
gianstraf
changed the title
Magento 2.4.5 compatibility - unable to login on frontend when a customer does not have addresses
Magento 2.4.5 compatibility - unable to login when a new customer does not have addresses
Dec 29, 2022
Dear support,
we meet a problem with the version 6.0.0 on Magento 2.4.5 with these conditions:
After the customer attempt to logging in (after he has typed username and password into the gigya screenset), no customer is created on magento db and an error occourrs on the frontend. The customer is redirected into the customer/account/register page.
The cause seems be that the customer, hasn't yet addresses when attempt to login and class
Gigya/GigyaIM/Model/MagentoCustomerFieldsUpdater.php
, methodsetAccountValues
attempt to read a default billing address that does not exist yet on db (customer is created into a mysql transaction but rollbacked later):See
Magento-2/Model/MagentoCustomerFieldsUpdater.php
Line 100 in b366ee3
Also, if we around the code with a similar check:
the code fails newly on this line:
Magento-2/Model/MagentoCustomerFieldsUpdater.php
Line 170 in b366ee3
$this->addressRepository->save($magentoBillingAddress);
because module attempt to save a new address without mandatory fields (postal code, street, and so on....).
Could you support us ?
Thank you,
Gianluca
The text was updated successfully, but these errors were encountered: