Defect HC-9194

Custom cookies cannot be created when custom commands are called from UserRegistrationAddCmdImpl

Software

Customer case Applies to Corrected in
CS0201892 V8.0.4.23 8.0.4.27

Observed behavior

When calling the SOI service AjaxPersonProcessServicePersonRegister, the CommandContext.getRequest() object is null in custom commands chained to the request. This is causing custom cookies to not be created when custom commands are called from UserRegistrationAddCmdImpl.

Expected behavior

The custom cookies returned in the response header of the chained command are expected to be carried forward.

Resolution

AjaxRESTAction was updated to look for the cookies specified in the chained response header and copy all custom cookies (do not start with WC_) to the response.