cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Guest customer is generated with wrong uid, without including pipe character |

DavidLevy2
Discoverer
0 Kudos
296

Using sap commerce cloud with spartacus 2211

The frontend is calling the hybris/bin/modules/commerce-services/commercewebservices/web/src/de/hybris/platform/commercewebservices/core/v2/controller/CartsController.java

In method "replaceCartGuestUser", which creates a new checkout customer from an email address, the code goes well when debugging at first, with a proper generated uid with format guid|email

but right after calling modelService.save and before the first interceptor is called, the pipe character is gone, resulting in the format guidemail altogether, which makes it impossible to extract the email address. what is wrong? it only happens with the pipe character, if I replace it with anything else then the string is not modified.

image (1).png

the process later on adds another pipe with the site which is fine, but the pipe separating the guid and the email address is missing. 

Accepted Solutions (0)

Answers (0)