Defect HC-24096
Unable to retrieve entitlement context data after activity removed from DB
Software
Customer case | Applies to | Corrected in |
---|---|---|
CS0355339 | V9.1.11.0 | 9.1.12.0 |
Observed behavior
When using Cookies for a REST request, if the activityToken specified in the WC_USERACTIVITY cookie was deleted, the entitlement context data could not be retrieved.
Expected behavior
The CommerceTokenRequestHandler replaces the deleted activity with a (temporary) new one, and the new activityToken is put into the WC_USERACTIVITY cookie. The updates to the CTXDATA should have been considered permanent in the WC_USERACTIVITY cookie instead of temporary.
Resolution
Fixed