Skip to content

7.88.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 23 Oct 07:38
· 4 commits to master since this release

Included commits: 7.87.3...7.88.0

Improvements

  • Introduced CustomerTransfer.messageType and MessageTransfer.type transfer properties to pass the message type from customer pre-update plugins to the customer response.
  • Adjusted CustomerFacade::updateCustomer() to return isSuccess = false and to save nothing when a pre-update plugin sets CustomerTransfer.messageType to error; the message, when set, is added to CustomerResponseTransfer.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.message and CustomerTransfer.messageType are 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.message and CustomerTransfer.messageType are null after CustomerFacade::updateCustomer().