Validator calls
In
GlobalConfig.php
line ():
No violations
[ "value" => [ "DiPlanPortal" => [ "url" => "https://diplanportal-dev.demos-europe.eu/" ] "DiPlanCockpit" => [ "url" => "https://sh.cockpit.diplanung.de" "restricted" => true ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#7558 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\NotNull {#7561 +payload: null +groups: [ "Default" ] +message: "This value should not be null." } Symfony\Component\Validator\Constraints\All {#8333 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#8506 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\NotNull {#8589 +payload: null +groups: [ "Default" ] +message: "This value should not be null." } Symfony\Component\Validator\Constraints\AtLeastOneOf {#7560 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#8508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#7557 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Url {#8334 +payload: null +groups: [ "Default" ] +message: "This value is not a valid URL." +protocols: [ "http" "https" ] +relativeProtocol: false +normalizer: null } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } Symfony\Component\Validator\Constraints\Optional {#8332 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#8341 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\NotBlank {#8342 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } ] } ] } ] "groups" => null ]
In
GlobalConfig.php
line ():
No violations
[ "value" => [ "DiPlanPortal" "DiPlanCockpit" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#8344 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#8343 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#8338 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } ] } ] "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#12832 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12848 -customerConditions: [] -userConditions: [] -procedureConditions: [] } ] -name: "feature_read_procedure_message" -label: "needed to retrieve procedure-messages generated when updating creating or deleting a procedure" -description: "" -exposed: true #createdAt: Carbon\Carbon @1773409241 {#12458 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000030aa0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.110021 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1773409241 {#12730 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000031ba0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.110032 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#12630 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12632 -customerConditions: [] -userConditions: [] -procedureConditions: [] } ] -name: "feature_procedure_message_kom_create" -label: "Needed to generate a procedure message of type 0401." -description: "" -exposed: true #createdAt: Carbon\Carbon @1773409241 {#12311 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000030170000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.132747 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1773409241 {#12633 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000031590000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.132752 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#12597 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12599 -customerConditions: [] -userConditions: [] -procedureConditions: [] } ] -name: "feature_procedure_message_kom_update" -label: "Needed to generate a procedure message of type 0402." -description: "" -exposed: true #createdAt: Carbon\Carbon @1773409241 {#12442 #endOfTime: false #startOfTime: false #constructedObjectId: "000000000000309a0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.132823 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1773409241 {#12600 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000031380000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.132825 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#12564 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12566 -customerConditions: [] -userConditions: [] -procedureConditions: [] } ] -name: "feature_procedure_message_kom_delete" -label: "Needed to generate a procedure message of type 0409." -description: "" -exposed: true #createdAt: Carbon\Carbon @1773409241 {#12631 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000031570000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.132878 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1773409241 {#12567 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000031170000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.132880 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#12530 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12532 -customerConditions: [] -userConditions: [ "c_496df69d-11ee-405a-90b1-0879650f71d7" => [ "group" => [ "conjunction" => "AND" ] ] "c_cc01d0d7-1817-487a-8f54-b20979c29d4d" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_496df69d-11ee-405a-90b1-0879650f71d7" ] ] "c_ab7b623d-52b7-431d-a07e-9587237c378a" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_496df69d-11ee-405a-90b1-0879650f71d7" ] ] ] -procedureConditions: [] } ] -name: "feature_set_mein_berlin_organisation_id" -label: "Allows to set a custom organisation id related to our organisation id." -description: "This is a necessary parameter of an update url for meinBerlin" -exposed: true #createdAt: Carbon\Carbon @1773409241 {#12533 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000030f50000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.144455 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1773409241 {#12555 #endOfTime: false #startOfTime: false #constructedObjectId: "000000000000310b0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.144459 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#12508 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12522 -customerConditions: [] -userConditions: [ "c_70076520-e119-4dc5-a613-1db7fb72e6de" => [ "group" => [ "conjunction" => "AND" ] ] "c_7ce3f161-65f9-487e-aa8b-33e83e06aef1" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_70076520-e119-4dc5-a613-1db7fb72e6de" ] ] "c_09f1a1b0-736b-4782-8366-c15b4e5fba24" => [ "parameterCondition" => [ "path" => "orga.procedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_70076520-e119-4dc5-a613-1db7fb72e6de" ] ] "c_55d1f392-b7b7-49f4-8474-29d48db0cd40" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_70076520-e119-4dc5-a613-1db7fb72e6de" ] ] "c_0ea6f281-486e-46fd-a286-cfd476885255" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_70076520-e119-4dc5-a613-1db7fb72e6de" ] ] ] -procedureConditions: [ "c_a20d561b-3afe-4632-b1ff-46a9fbcf59c6" => [ "group" => [ "conjunction" => "AND" ] ] "c_7db35a15-89ab-45ed-8bdc-ebdf98f76cb6" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_a20d561b-3afe-4632-b1ff-46a9fbcf59c6" ] ] "c_0887486f-1803-490e-a543-bc71f3338e5c" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_a20d561b-3afe-4632-b1ff-46a9fbcf59c6" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12505 -customerConditions: [] -userConditions: [ "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" => [ "group" => [ "conjunction" => "AND" ] ] "c_47b928eb-0ec5-4a16-8336-e5276ebd8433" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" ] ] "c_cbe84573-2fd7-46b8-bc60-27014d748ae9" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" ] ] "c_bf86323d-b333-4fdf-9023-5a6236736540" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" ] ] "c_eac3d9b1-5204-4652-aa73-dac838fc683d" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" ] ] ] -procedureConditions: [ "c_95d1927a-9a6b-42cc-b8a3-0dc0e55fa88a" => [ "group" => [ "conjunction" => "AND" ] ] "c_0f6c48ac-d890-4a81-818f-e63aeb9ee1c9" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_95d1927a-9a6b-42cc-b8a3-0dc0e55fa88a" ] ] "c_aa6f9b3b-7bc9-46f1-a9cc-dc24031cb8d1" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_95d1927a-9a6b-42cc-b8a3-0dc0e55fa88a" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12523 -customerConditions: [] -userConditions: [ "c_4734fd69-ebde-4c03-93f8-a3927643afe9" => [ "group" => [ "conjunction" => "AND" ] ] "c_a130ae2b-6743-4d6c-a6d3-191e81ba260b" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_4734fd69-ebde-4c03-93f8-a3927643afe9" ] ] "c_144064c7-9321-47ec-8418-979458f0e4b8" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_4734fd69-ebde-4c03-93f8-a3927643afe9" ] ] ] -procedureConditions: [] } ] -name: "feature_get_mein_berlin_organisation_id" -label: "Allows to get a custom organisation id related to our organisation id." -description: "This is a necessary parameter of an update url for meinBerlin" -exposed: true #createdAt: Carbon\Carbon @1773409241 {#12507 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000030db0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.144671 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1773409241 {#12598 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000031360000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.144674 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#12455 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12444 -customerConditions: [] -userConditions: [ "c_f651a9b4-327d-44ef-80f6-30236dae9774" => [ "group" => [ "conjunction" => "AND" ] ] "c_c0db2fa4-ea98-4e3d-bf69-26c871d3b54c" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_f651a9b4-327d-44ef-80f6-30236dae9774" ] ] "c_6c3290cc-be58-4b51-83ac-5a61b26b9959" => [ "parameterCondition" => [ "path" => "orga.procedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_f651a9b4-327d-44ef-80f6-30236dae9774" ] ] "c_5c23d78e-b38b-473a-b4a2-d6e26db7ca43" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_f651a9b4-327d-44ef-80f6-30236dae9774" ] ] "c_3cd90abc-690d-44ea-8f6a-23f42606ddef" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_f651a9b4-327d-44ef-80f6-30236dae9774" ] ] ] -procedureConditions: [ "c_f2af479a-d634-4bb5-bd10-3a1c66a06dc8" => [ "group" => [ "conjunction" => "AND" ] ] "c_b583acbb-471f-44df-b225-60faf412009e" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_f2af479a-d634-4bb5-bd10-3a1c66a06dc8" ] ] "c_9ade87e6-4474-4d96-9978-fedb5ca1574e" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_f2af479a-d634-4bb5-bd10-3a1c66a06dc8" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#12468 -customerConditions: [] -userConditions: [ "c_e538dc91-bbf0-4511-889c-35c14bb7894f" => [ "group" => [ "conjunction" => "AND" ] ] "c_9ee2bca8-1f2a-47aa-8ba0-8468cbc56d4b" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_e538dc91-bbf0-4511-889c-35c14bb7894f" ] ] "c_1d607b49-763a-40c5-b438-5d5cac8ce8e1" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_e538dc91-bbf0-4511-889c-35c14bb7894f" ] ] "c_0607b0f6-7a37-43d4-bc2f-3d0d1c69dab8" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_e538dc91-bbf0-4511-889c-35c14bb7894f" ] ] "c_a318249b-66cd-430c-a19e-87e4b5a93a24" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_e538dc91-bbf0-4511-889c-35c14bb7894f" ] ] ] -procedureConditions: [ "c_4c10829e-2f4f-4947-a202-03a254026702" => [ "group" => [ "conjunction" => "AND" ] ] "c_b11542a1-2993-4b6a-a679-4342be49a46e" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_4c10829e-2f4f-4947-a202-03a254026702" ] ] "c_4f9dff9e-9025-460f-8de5-622bdefe1693" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_4c10829e-2f4f-4947-a202-03a254026702" ] ] ] } ] -name: "feature_set_mein_berlin_district" -label: """ Allows to set a district code used at meinBerlin to\n locate the procedure geographically in Berlin districts """ -description: "" -exposed: true #createdAt: Carbon\Carbon @1773409241 {#12471 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000030b70000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.144784 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1773409241 {#12531 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000030f30000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-03-13 14:40:41.144787 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [ "c_496df69d-11ee-405a-90b1-0879650f71d7" => [ "group" => [ "conjunction" => "AND" ] ] "c_cc01d0d7-1817-487a-8f54-b20979c29d4d" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_496df69d-11ee-405a-90b1-0879650f71d7" ] ] "c_ab7b623d-52b7-431d-a07e-9587237c378a" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_496df69d-11ee-405a-90b1-0879650f71d7" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [ "c_496df69d-11ee-405a-90b1-0879650f71d7" "c_cc01d0d7-1817-487a-8f54-b20979c29d4d" "c_ab7b623d-52b7-431d-a07e-9587237c378a" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [ "c_70076520-e119-4dc5-a613-1db7fb72e6de" => [ "group" => [ "conjunction" => "AND" ] ] "c_7ce3f161-65f9-487e-aa8b-33e83e06aef1" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_70076520-e119-4dc5-a613-1db7fb72e6de" ] ] "c_09f1a1b0-736b-4782-8366-c15b4e5fba24" => [ "condition" => [ "path" => "orga.procedures.id" "operator" => "=" "memberOf" => "c_70076520-e119-4dc5-a613-1db7fb72e6de" "value" => "e265513a-bb05-4869-ae29-0d2d4b94fc0e" ] ] "c_55d1f392-b7b7-49f4-8474-29d48db0cd40" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_70076520-e119-4dc5-a613-1db7fb72e6de" ] ] "c_0ea6f281-486e-46fd-a286-cfd476885255" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_70076520-e119-4dc5-a613-1db7fb72e6de" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [ "c_70076520-e119-4dc5-a613-1db7fb72e6de" "c_7ce3f161-65f9-487e-aa8b-33e83e06aef1" "c_09f1a1b0-736b-4782-8366-c15b4e5fba24" "c_55d1f392-b7b7-49f4-8474-29d48db0cd40" "c_0ea6f281-486e-46fd-a286-cfd476885255" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [ "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" => [ "group" => [ "conjunction" => "AND" ] ] "c_47b928eb-0ec5-4a16-8336-e5276ebd8433" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" ] ] "c_cbe84573-2fd7-46b8-bc60-27014d748ae9" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "=" "memberOf" => "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" "value" => "e265513a-bb05-4869-ae29-0d2d4b94fc0e" ] ] "c_bf86323d-b333-4fdf-9023-5a6236736540" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" ] ] "c_eac3d9b1-5204-4652-aa73-dac838fc683d" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [ "c_aa6829ce-bc1a-42d2-b061-8cec9d01618f" "c_47b928eb-0ec5-4a16-8336-e5276ebd8433" "c_cbe84573-2fd7-46b8-bc60-27014d748ae9" "c_bf86323d-b333-4fdf-9023-5a6236736540" "c_eac3d9b1-5204-4652-aa73-dac838fc683d" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [ "c_4734fd69-ebde-4c03-93f8-a3927643afe9" => [ "group" => [ "conjunction" => "AND" ] ] "c_a130ae2b-6743-4d6c-a6d3-191e81ba260b" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_4734fd69-ebde-4c03-93f8-a3927643afe9" ] ] "c_144064c7-9321-47ec-8418-979458f0e4b8" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_4734fd69-ebde-4c03-93f8-a3927643afe9" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [ "c_4734fd69-ebde-4c03-93f8-a3927643afe9" "c_a130ae2b-6743-4d6c-a6d3-191e81ba260b" "c_144064c7-9321-47ec-8418-979458f0e4b8" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [ "c_f651a9b4-327d-44ef-80f6-30236dae9774" => [ "group" => [ "conjunction" => "AND" ] ] "c_c0db2fa4-ea98-4e3d-bf69-26c871d3b54c" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_f651a9b4-327d-44ef-80f6-30236dae9774" ] ] "c_6c3290cc-be58-4b51-83ac-5a61b26b9959" => [ "condition" => [ "path" => "orga.procedures.id" "operator" => "=" "memberOf" => "c_f651a9b4-327d-44ef-80f6-30236dae9774" "value" => "e265513a-bb05-4869-ae29-0d2d4b94fc0e" ] ] "c_5c23d78e-b38b-473a-b4a2-d6e26db7ca43" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_f651a9b4-327d-44ef-80f6-30236dae9774" ] ] "c_3cd90abc-690d-44ea-8f6a-23f42606ddef" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_f651a9b4-327d-44ef-80f6-30236dae9774" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [ "c_f651a9b4-327d-44ef-80f6-30236dae9774" "c_c0db2fa4-ea98-4e3d-bf69-26c871d3b54c" "c_6c3290cc-be58-4b51-83ac-5a61b26b9959" "c_5c23d78e-b38b-473a-b4a2-d6e26db7ca43" "c_3cd90abc-690d-44ea-8f6a-23f42606ddef" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [ "c_e538dc91-bbf0-4511-889c-35c14bb7894f" => [ "group" => [ "conjunction" => "AND" ] ] "c_9ee2bca8-1f2a-47aa-8ba0-8468cbc56d4b" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_e538dc91-bbf0-4511-889c-35c14bb7894f" ] ] "c_1d607b49-763a-40c5-b438-5d5cac8ce8e1" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "=" "memberOf" => "c_e538dc91-bbf0-4511-889c-35c14bb7894f" "value" => "e265513a-bb05-4869-ae29-0d2d4b94fc0e" ] ] "c_0607b0f6-7a37-43d4-bc2f-3d0d1c69dab8" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_e538dc91-bbf0-4511-889c-35c14bb7894f" ] ] "c_a318249b-66cd-430c-a19e-87e4b5a93a24" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_e538dc91-bbf0-4511-889c-35c14bb7894f" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1701 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1686 +payload: null +groups: [ "Default" ] +minMessage: "This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more." +maxMessage: "This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less." +exactMessage: "This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements." +divisibleByMessage: "The number of elements in this collection should be a multiple of {{ compared_value }}." +min: 1 +max: 1 +divisibleBy: null } Symfony\Component\Validator\Constraints\Collection {#1704 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1703 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1654 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1685 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1653 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1659 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1662 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1663 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1664 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1665 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1666 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "int" } ] +message: "This value should satisfy at least one of the following constraints:" +messageCollection: "Each element of this collection should satisfy its own set of constraints." +includeInternalMessages: true } ] } "memberOf" => Symfony\Component\Validator\Constraints\Required {#1660 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1649 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1648 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1625 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1646 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1645 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "path" => Symfony\Component\Validator\Constraints\Required {#1658 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1643 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1642 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/^[a-z]\w*(\.[a-z]\w*)*$/" +htmlPattern: null +match: true +normalizer: null } ] } "operator" => Symfony\Component\Validator\Constraints\Required {#1684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1667 +payload: null +groups: [ "Default" ] +choices: [ "=" "<>" "STRING_CONTAINS_CASE_INSENSITIVE" "IN" "NOT_IN" "BETWEEN" "NOT BETWEEN" "ARRAY_CONTAINS_VALUE" ">" ">=" "<" "<=" "STARTS_WITH_CASE_INSENSITIVE" "ENDS_WITH_CASE_INSENSITIVE" "NOT SIZE" "IS NULL" "IS NOT NULL" "FALSE" ] +callback: null +multiple: false +strict: true +min: null +max: null +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter condition, allowed fields are: `value`, `memberOf`, `path`, `operator`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1677 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1678 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1644} Symfony\Component\Validator\Constraints\NotBlank {#1643} Symfony\Component\Validator\Constraints\Regex {#1642} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter condition, required are: `path`" } ] } "group" => Symfony\Component\Validator\Constraints\Required {#1702 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1668 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1676 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1657 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1682 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1661 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1671 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1670 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1669 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } "conjunction" => Symfony\Component\Validator\Constraints\Required {#1672 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1681 +payload: null +groups: [ "Default" ] +choices: [ "AND" "OR" ] +callback: null +multiple: false +strict: true +min: 1 +max: 1 +message: "The value you selected is not a valid choice." +multipleMessage: "One or more of the given values is invalid." +minMessage: "You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices." +maxMessage: "You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices." +match: true } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of a filter group, allowed fields are: `memberOf`, `conjunction`" +missingFieldsMessage: "This field is missing." } Symfony\Component\Validator\Constraints\Collection {#1673 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1679} Symfony\Component\Validator\Constraints\Type {#1680} Symfony\Component\Validator\Constraints\Choice {#1681} ] } ] +allowExtraFields: true +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "Missing field(s) in the context of a filter group, required are: `conjunction`" } ] } ] +allowExtraFields: false +allowMissingFields: true +extraFieldsMessage: "Unexpected field(s) in the context of filter items, allowed fields are: `condition`, `group`" +missingFieldsMessage: "This field is missing." } ] } ] "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {throw new DrupalFilterException(
[ "value" => [ "c_e538dc91-bbf0-4511-889c-35c14bb7894f" "c_9ee2bca8-1f2a-47aa-8ba0-8468cbc56d4b" "c_1d607b49-763a-40c5-b438-5d5cac8ce8e1" "c_0607b0f6-7a37-43d4-bc2f-3d0d1c69dab8" "c_a318249b-66cd-430c-a19e-87e4b5a93a24" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1647 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1655 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1656 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A[-\w]+\z/" +htmlPattern: null +match: true +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1652 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A-?\d+\z/" +htmlPattern: null +match: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1651 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1650 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]