Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 457 Bytes

2023-05-25-added-exception-on-invalid-promotion-code-pattern.md

File metadata and controls

12 lines (12 loc) · 457 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Added exception on invalid promotion code pattern
issue: NEXT-27046
author: Michel Bade
author_email: m.bade@shopware.com
author_github: @cyl3x
---

Core

  • Added exception on invalid promotion code pattern
  • Deprecated the following exceptions in replacement for Domain Exceptions
    • Shopware\Core\Checkout\Promotion\Exception\PatternNotComplexEnoughException
    • Shopware\Core\Checkout\Promotion\Exception\PatternAlreadyInUseException