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 {#3294 name: "" type_class: "Customize\Form\Type\SearchProductType" data: [ "mode" => null "category_id" => Eccube\Entity\Category {#2867 -id: 1003 -name: "海外向けギガ追加" -hierarchy: 1 -sort_no: 0 -create_date: DateTime @1768995486 {#2865 date: 2026-01-21 20:38:06.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1775196795 {#2866 date: 2026-04-03 15:13:15.0 Asia/Tokyo (+09:00) } -ProductCategories: Doctrine\ORM\PersistentCollection {#2868 …} -Children: Doctrine\ORM\PersistentCollection {#2871 …} -Parent: null -Creator: Proxies\__CG__\Eccube\Entity\Member {#3000 …} -isSearchable: 0 } "name" => null "country_id" => null "region_category_id" => "2001" "data_capacity" => null "pageno" => null "disp_number" => Eccube\Entity\Master\ProductListMax {#2856 #id: 10 #name: "10件" #sort_no: 0 } "orderby" => Eccube\Entity\Master\ProductListOrderBy {#3035 #id: 1 #name: "価格が低い順" #sort_no: 0 } ] } "constraints" => null "groups" => null ]
In
ValidationListener.php
line ():
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 {#4743 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "name" => null ] } "constraints" => null "groups" => null ]
| Path | Message | Invalid value | Violation |
|---|---|---|---|
| children[category_id] | 選択した値は無効です。 | "1003" |
Symfony\Component\Validator\ConstraintViolation {#4785 -message: "選択した値は無効です。" -messageTemplate: "The selected choice is invalid." -parameters: [ "{{ value }}" => "1003" ] -plural: null -root: Symfony\Component\Form\Form {#4743 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "name" => null ] } -propertyPath: "children[category_id]" -invalidValue: "1003" -constraint: Symfony\Component\Form\Extension\Validator\Constraints\Form {#3411 …} -code: "1dafa156-89e1-4736-b832-419c2e501fca" -cause: Symfony\Component\Form\Exception\TransformationFailedException {#4768 …} } |