Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 626 Bytes

2023-09-12-handle-exception-for-version-manager.md

File metadata and controls

8 lines (8 loc) · 626 Bytes
title issue
Handle exception for VersionManager
NEXT-30181

Core

  • Added 2 new exception methods cannotCreateNewVersion and versionMergeAlreadyLocked in Shopware\Core\Framework\DataAbstractionLayer\DataAbstractionLayerException
  • Added an alternative exception by throwing DataAbstractionLayerException::cannotCreateNewVersion() in cloneEntity method of Shopware\Core\Framework\DataAbstractionLayer\VersionManager
  • Added an alternative exception by throwing DataAbstractionLayerException::versionMergeAlreadyLocked() in merge method of Shopware\Core\Framework\DataAbstractionLayer\VersionManager