Repository navigation
7.88.0
·
4 commits
to master
since this release
Included commits: 7.87.3...7.88.0
Improvements
- Introduced
CustomerTransfer.messageTypeandMessageTransfer.typetransfer properties to pass the message type from customer pre-update plugins to the customer response. - Adjusted
CustomerFacade::updateCustomer()to returnisSuccess = falseand to save nothing when a pre-update plugin setsCustomerTransfer.messageTypetoerror; the message, when set, is added toCustomerResponseTransfer.errors. The rest of the pre-update plugin stack is still executed.
Fixes
- Fixed
CustomerFacade::updateCustomer()to add a pre-update plugin message only once:CustomerTransfer.messageandCustomerTransfer.messageTypeare now cleared after each pre-update plugin, so the next plugins in the stack no longer receive the message of a previous plugin. As a result,CustomerTransfer.messageandCustomerTransfer.messageTypearenullafterCustomerFacade::updateCustomer().