Validator calls
In
ValidationListener.php
line 55 (context):
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
// ConstraintViolation::getConstraint() must not expect to provide a constraint as long as Symfony\Component\Validator\ExecutionContext exists (before 3.0)
[ "value" => Form {#2701 name: "" type_class: "Eccube\Form\Type\SearchProductType" data: [ "mode" => null "category_id" => Category {#2536 -id: 1 -name: "販促品" -hierarchy: 1 -sort_no: 2 -create_date: DateTime @1488881692 {#2543 date: 2017-03-07 19:14:52.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1594375973 {#2542 date: 2020-07-10 19:12:53.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2585 …} -Children: PersistentCollection {#2576 …} -Parent: null -Creator: Member {#2556 …} -AnnotationReader: AnnotationReader {#567 …} } "name" => null "pageno" => null "disp_number" => ProductListMax {#2768 #id: 20 #name: "20件" #sort_no: 0 -AnnotationReader: AnnotationReader {#567 …} } "orderby" => ProductListOrderBy {#2776 #id: 5 #name: "おすすめ順" #sort_no: 2 -AnnotationReader: AnnotationReader {#567 …} } ] } "constraints" => null "groups" => null ]
In
ValidationListener.php
line 55 (context):
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
// ConstraintViolation::getConstraint() must not expect to provide a constraint as long as Symfony\Component\Validator\ExecutionContext exists (before 3.0)
[ "value" => Form {#4544 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#2536 -id: 1 -name: "販促品" -hierarchy: 1 -sort_no: 2 -create_date: DateTime @1488881692 {#2543 date: 2017-03-07 19:14:52.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1594375973 {#2542 date: 2020-07-10 19:12:53.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2585 …} -Children: PersistentCollection {#2576 …} -Parent: null -Creator: Member {#2556 …} -AnnotationReader: AnnotationReader {#567 …} } "name" => null ] } "constraints" => null "groups" => null ]
In
ValidationListener.php
line 55 (context):
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
// ConstraintViolation::getConstraint() must not expect to provide a constraint as long as Symfony\Component\Validator\ExecutionContext exists (before 3.0)
[ "value" => Form {#5308 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#2536 -id: 1 -name: "販促品" -hierarchy: 1 -sort_no: 2 -create_date: DateTime @1488881692 {#2543 date: 2017-03-07 19:14:52.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1594375973 {#2542 date: 2020-07-10 19:12:53.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2585 …} -Children: PersistentCollection {#2576 …} -Parent: null -Creator: Member {#2556 …} -AnnotationReader: AnnotationReader {#567 …} } "name" => null ] } "constraints" => null "groups" => null ]