Defect HC-3202

Personalization Id can be assigned to multiple shoppers due to uncaught exception.

Software

Customer case Applies to Corrected in
CS0113396 V9.0.1.7 9.0.1.12

Observed behavior

In the local v9 store, the same personalization id is getting assigned to the multiple registered users when registering a new user. An exception in the log for the NonUniqueResultException in the AbstractDistributedMapCache class.

Expected behavior

Each unique visitor should have a different personalization id.

Resolution

An uncaught exception in the cache management logic was being reported to the log, but execution continued and the same personalization id was assigned twice.

This fix properly handles the previously unhandled NonUniqueResultException exception, preventing multiple users from being assigned the same personalization id.