on 2019 Feb 22 1:59 PM
I am updatig my existing customer email id but as soon as I am saving it, its uid is also getting updated with email id also. Is this hybris OOTB behaviour? If yes, how can I change this? If no, can you suggesst me what can be the cause for this?
Request clarification before answering.
I think its because of the prepare interceptor on CustomerModel CustomerOriginalUidPrepareInterceptor. I think its possible to disable specific interceptors if you execute the logic in local session. Check the documentation for more details.
https://help.hybris.com/6.7.0/hcd/9ce1b60e12714a7dba6ea7e66b4f7acd.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to separate the email from the uid, you need to create a new property for an email address and store/change the email address into it. And also use it when retrieving the email address. And use something else for the uids (eg. a generated GUID).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.