Validator calls
Path | Message | Invalid value | Violation |
---|---|---|---|
data.code | This value is already used. | "Trade foiling A5 - 1 pos" |
Symfony\Component\Validator\ConstraintViolation {#3149 -message: "This value is already used." -messageTemplate: "This value is already used." -parameters: [ "{{ value }}" => ""Trade foiling A5 - 1 pos"" ] -plural: null -root: Symfony\Component\Form\Form {#2083 : "calculator_product_business_card" : "App\Form\CalculatorProductBusinessCardType" : App\Entity\CalculatorProductBusinessCard {#1795 -id: null -name: "Trade foiling A5- 1 pos" -code: "Trade foiling A5 - 1 pos" -description: null -price: [] -businessCardOptions: Doctrine\Common\Collections\ArrayCollection {#1835 …} -calculator: App\Entity\Calculator {#1281 …} -priceTop: [] #createdAt: null #updatedAt: null } } -propertyPath: "data.code" -invalidValue: "Trade foiling A5 - 1 pos" -constraint: Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity {#1323 …} -code: "23bd9dbf-6b9b-41cd-a99e-4844bcf3077f" -cause: [ App\Entity\CalculatorProductBusinessCard {#3184 -id: 356 -name: "Trade foiling A5- 1 pos" -code: "Trade foiling A5 - 1 pos" -description: null -price: [] -businessCardOptions: Doctrine\ORM\PersistentCollection {#3414 …} -calculator: App\Entity\Calculator {#1281 …} -priceTop: [] #createdAt: DateTime @1745277691 {#3147 : 2025-04-22 11:21:31.0 Pacific/Auckland (+12:00) } #updatedAt: DateTime @1756435355 {#3134 : 2025-08-29 14:42:35.0 Pacific/Auckland (+12:00) } } ] } |