Validator calls
In
ValidationListener.php
line ():
No violations
if ($form->isRoot()) {// Form groups are validated internally (FormValidator). Here we don't set groups as they are retrieved into the validator.foreach ($this->validator->validate($form) as $violation) {// Allow the "invalid" constraint to be put onto// non-synchronized forms$allowNonSynchronized = $violation->getConstraint() instanceof Form && Form::NOT_SYNCHRONIZED_ERROR === $violation->getCode();
[ "value" => Symfony\Component\Form\Form {#2943 name: "product" type_class: "App\Form\ProductType" data: App\Entity\Product {#1145 -id: 1333854 -code: "719081771968" -restockCategory: Proxies\__CG__\App\Entity\Category {#995 …} -name: "Gilmore Girls Stickers 50Pcs Waterproof Cute US TV Series Sticker for Water Bottle Skateboard Laptop Hydro Flask Luggage Car Phone Bumper Bike,Cool Vinyl Movies Decal for Teens Girls Adults" -msrp: 8.15 -analyzedAt: DateTime @1761772536 {#3328 date: 2025-10-29 17:15:36.216683 America/Montreal (-04:00) } -photo: null -productActions: Doctrine\ORM\PersistentCollection {#1062 …} -merchantSkus: Doctrine\ORM\PersistentCollection {#1151 …} -analyzedBy: App\Entity\User {#29 …} -manifestItems: Doctrine\ORM\PersistentCollection {#1165 …} -lotItems: Doctrine\ORM\PersistentCollection {#1162 …} -cpQuantity: null -cpNumber: null -cpName: null -preparationLots: Doctrine\ORM\PersistentCollection {#1330 …} -cpDiscount: null -cpLots: Doctrine\ORM\PersistentCollection {#1212 …} -hasExpirationDate: false -upcitemdb: null -cpFormat: null -cpPackagedUnits: null -cpPhotos: [] -cpWeight: null -productUpdateLogs: Doctrine\ORM\PersistentCollection {#1273 …} -cpPackage: null -oldCpNumber: null -productCpPhotos: Doctrine\ORM\PersistentCollection {#1266 …} -isFlagPreparationDone: false -hasMarketingPhotoRequest: false -marketingPhotos: Doctrine\ORM\PersistentCollection {#1239 …} -isOversize: false -oldName: null -isUpdated: false -scraperClass: null -scraperId: null -isUpcChecked: false -isUpcValid: false -isEanChecked: false -isEanValid: false -synccentric: null -isValidation: false -isCategoryValidation: false -previousCategoryId: null -lastCategoryChangeAt: null -internalSkus: Doctrine\ORM\PersistentCollection {#1244 …} } } "constraints" => null "groups" => null ]