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 {#1420 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\NotNull {#969 +payload: null +groups: [ "Default" ] +message: "This value should not be null." } Symfony\Component\Validator\Constraints\All {#966 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1007 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\NotNull {#1390 +payload: null +groups: [ "Default" ] +message: "This value should not be null." } Symfony\Component\Validator\Constraints\AtLeastOneOf {#972 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1417 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#988 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Url {#964 +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 {#963 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#962 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\NotBlank {#961 +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 {#956 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#960 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#952 +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 {#3500 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3423 -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 @1776695652 {#3330 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000d020000000000000000" #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-04-20 16:34:12.719092 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1776695652 {#3171 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000c630000000000000000" #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-04-20 16:34:12.719101 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#3541 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3539 -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 @1776695652 {#3212 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000c8c0000000000000000" #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-04-20 16:34:12.722436 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1776695652 {#3538 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000dd20000000000000000" #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-04-20 16:34:12.722440 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#3574 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3572 -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 @1776695652 {#3460 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000d840000000000000000" #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-04-20 16:34:12.722501 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1776695652 {#3571 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000df30000000000000000" #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-04-20 16:34:12.722503 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#3607 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3605 -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 @1776695652 {#3540 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000dd40000000000000000" #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-04-20 16:34:12.722560 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1776695652 {#3604 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000e140000000000000000" #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-04-20 16:34:12.722562 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#3641 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3639 -customerConditions: [] -userConditions: [ "c_276686fa-6150-4754-bb68-595d4ed4d2e8" => [ "group" => [ "conjunction" => "AND" ] ] "c_f342316c-5417-478a-b390-67f0b68aef67" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_276686fa-6150-4754-bb68-595d4ed4d2e8" ] ] "c_c51ea3d0-e116-4c0f-a32a-e721ae4c3676" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_276686fa-6150-4754-bb68-595d4ed4d2e8" ] ] ] -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 @1776695652 {#3638 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000e360000000000000000" #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-04-20 16:34:12.723641 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1776695652 {#3616 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000e200000000000000000" #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-04-20 16:34:12.723645 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#3712 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3704 -customerConditions: [] -userConditions: [ "c_0feaa58a-3a44-4129-81db-60b3a260f7d7" => [ "group" => [ "conjunction" => "AND" ] ] "c_94c89301-c862-4afa-83ba-d82ada8235eb" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_0feaa58a-3a44-4129-81db-60b3a260f7d7" ] ] "c_d858809c-1f81-48db-a962-d861abbb6a29" => [ "parameterCondition" => [ "path" => "orga.procedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_0feaa58a-3a44-4129-81db-60b3a260f7d7" ] ] "c_1dc63e6c-cf59-4a6b-b958-df61d4d01be0" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_0feaa58a-3a44-4129-81db-60b3a260f7d7" ] ] "c_e1955421-bde8-4fff-99e2-54f1e464f07e" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_0feaa58a-3a44-4129-81db-60b3a260f7d7" ] ] ] -procedureConditions: [ "c_20e45ef1-3fc7-46ff-855a-f740e2509cdd" => [ "group" => [ "conjunction" => "AND" ] ] "c_6cd7707b-aa66-4593-b077-2f73e250a746" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_20e45ef1-3fc7-46ff-855a-f740e2509cdd" ] ] "c_4761bc8d-f710-4bbe-bfe7-2e25c6a76780" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_20e45ef1-3fc7-46ff-855a-f740e2509cdd" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3709 -customerConditions: [] -userConditions: [ "c_3f3baf4c-2797-48a4-b68f-979299525980" => [ "group" => [ "conjunction" => "AND" ] ] "c_8110e4f8-d1f3-4de5-973d-78161ca28452" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_3f3baf4c-2797-48a4-b68f-979299525980" ] ] "c_5eaf7af5-51ca-4aa9-9dfe-1ec83e4be5cc" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_3f3baf4c-2797-48a4-b68f-979299525980" ] ] "c_29cc570b-b4af-49ae-9907-72f484ad20b2" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_3f3baf4c-2797-48a4-b68f-979299525980" ] ] "c_a062f03f-d4e0-4931-b707-e5de653ba588" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_3f3baf4c-2797-48a4-b68f-979299525980" ] ] ] -procedureConditions: [ "c_e08523d0-7507-47b7-b5ee-6c8d1a99ba8b" => [ "group" => [ "conjunction" => "AND" ] ] "c_3db05108-b19d-46ec-a68b-5cc025ff57c1" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_e08523d0-7507-47b7-b5ee-6c8d1a99ba8b" ] ] "c_f9bdb596-3e8d-4652-99fd-f8383c0c9989" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_e08523d0-7507-47b7-b5ee-6c8d1a99ba8b" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3703 -customerConditions: [] -userConditions: [ "c_e2f9988e-1427-42f4-8574-4330aafa8073" => [ "group" => [ "conjunction" => "AND" ] ] "c_b9836df4-5181-4115-aedb-1c112ecfcb91" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_e2f9988e-1427-42f4-8574-4330aafa8073" ] ] "c_a3f3fa35-7d07-44ef-8b16-6a23bfee8f4d" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_e2f9988e-1427-42f4-8574-4330aafa8073" ] ] ] -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 @1776695652 {#3711 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000e7f0000000000000000" #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-04-20 16:34:12.723860 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1776695652 {#3573 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000df50000000000000000" #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-04-20 16:34:12.723863 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#3738 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3739 -customerConditions: [] -userConditions: [ "c_223542b6-4fb9-45bf-ad55-07fd152e47eb" => [ "group" => [ "conjunction" => "AND" ] ] "c_98a1d896-6ef5-44de-b16a-405df3e9cf49" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_223542b6-4fb9-45bf-ad55-07fd152e47eb" ] ] "c_9dae7722-c789-4508-a017-74f66e43a65b" => [ "parameterCondition" => [ "path" => "orga.procedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_223542b6-4fb9-45bf-ad55-07fd152e47eb" ] ] "c_e581dae2-d834-48d0-a86c-1a77b862b635" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_223542b6-4fb9-45bf-ad55-07fd152e47eb" ] ] "c_75666aa4-7d79-440f-932b-610055db5e7a" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_223542b6-4fb9-45bf-ad55-07fd152e47eb" ] ] ] -procedureConditions: [ "c_f9bff8ed-74c8-41c8-a8df-5ac91735dc68" => [ "group" => [ "conjunction" => "AND" ] ] "c_8848eb10-5aab-4b9f-a438-1b78574e7e78" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_f9bff8ed-74c8-41c8-a8df-5ac91735dc68" ] ] "c_3a228e79-89b0-423c-a5e5-594fab1b6e98" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_f9bff8ed-74c8-41c8-a8df-5ac91735dc68" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#3744 -customerConditions: [] -userConditions: [ "c_a8632dcd-9a19-4e05-ae96-376ecd421d7d" => [ "group" => [ "conjunction" => "AND" ] ] "c_c83941ca-fe9b-4f94-890c-68b15f722116" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_a8632dcd-9a19-4e05-ae96-376ecd421d7d" ] ] "c_e6f5877a-294f-4ed9-b915-7570bb78b5f0" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_a8632dcd-9a19-4e05-ae96-376ecd421d7d" ] ] "c_12437a8c-af96-45f1-bab5-8999e1b4ae20" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_a8632dcd-9a19-4e05-ae96-376ecd421d7d" ] ] "c_9af72528-86f2-4ea5-924f-feb2f50e9d9e" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_a8632dcd-9a19-4e05-ae96-376ecd421d7d" ] ] ] -procedureConditions: [ "c_dc954b98-1184-4ffd-8520-7d94f26b0a55" => [ "group" => [ "conjunction" => "AND" ] ] "c_8bdf2251-658b-4995-8ea1-0005de93f3aa" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_dc954b98-1184-4ffd-8520-7d94f26b0a55" ] ] "c_a4f62e58-81da-4504-99dd-7ecef305d583" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_dc954b98-1184-4ffd-8520-7d94f26b0a55" ] ] ] } ] -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 @1776695652 {#3747 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000ea30000000000000000" #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-04-20 16:34:12.723963 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1776695652 {#3640 #endOfTime: false #startOfTime: false #constructedObjectId: "0000000000000e380000000000000000" #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-04-20 16:34:12.723965 Europe/Berlin (+02: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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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 {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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 {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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_276686fa-6150-4754-bb68-595d4ed4d2e8" => [ "group" => [ "conjunction" => "AND" ] ] "c_f342316c-5417-478a-b390-67f0b68aef67" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_276686fa-6150-4754-bb68-595d4ed4d2e8" ] ] "c_c51ea3d0-e116-4c0f-a32a-e721ae4c3676" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_276686fa-6150-4754-bb68-595d4ed4d2e8" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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_276686fa-6150-4754-bb68-595d4ed4d2e8" "c_f342316c-5417-478a-b390-67f0b68aef67" "c_c51ea3d0-e116-4c0f-a32a-e721ae4c3676" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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_0feaa58a-3a44-4129-81db-60b3a260f7d7" => [ "group" => [ "conjunction" => "AND" ] ] "c_94c89301-c862-4afa-83ba-d82ada8235eb" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_0feaa58a-3a44-4129-81db-60b3a260f7d7" ] ] "c_d858809c-1f81-48db-a962-d861abbb6a29" => [ "condition" => [ "path" => "orga.procedures.id" "operator" => "=" "memberOf" => "c_0feaa58a-3a44-4129-81db-60b3a260f7d7" "value" => "c0eab4e0-c94b-491e-abfa-a659f2cda384" ] ] "c_1dc63e6c-cf59-4a6b-b958-df61d4d01be0" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_0feaa58a-3a44-4129-81db-60b3a260f7d7" ] ] "c_e1955421-bde8-4fff-99e2-54f1e464f07e" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_0feaa58a-3a44-4129-81db-60b3a260f7d7" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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_0feaa58a-3a44-4129-81db-60b3a260f7d7" "c_94c89301-c862-4afa-83ba-d82ada8235eb" "c_d858809c-1f81-48db-a962-d861abbb6a29" "c_1dc63e6c-cf59-4a6b-b958-df61d4d01be0" "c_e1955421-bde8-4fff-99e2-54f1e464f07e" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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_3f3baf4c-2797-48a4-b68f-979299525980" => [ "group" => [ "conjunction" => "AND" ] ] "c_8110e4f8-d1f3-4de5-973d-78161ca28452" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_3f3baf4c-2797-48a4-b68f-979299525980" ] ] "c_5eaf7af5-51ca-4aa9-9dfe-1ec83e4be5cc" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "=" "memberOf" => "c_3f3baf4c-2797-48a4-b68f-979299525980" "value" => "c0eab4e0-c94b-491e-abfa-a659f2cda384" ] ] "c_29cc570b-b4af-49ae-9907-72f484ad20b2" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_3f3baf4c-2797-48a4-b68f-979299525980" ] ] "c_a062f03f-d4e0-4931-b707-e5de653ba588" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_3f3baf4c-2797-48a4-b68f-979299525980" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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_3f3baf4c-2797-48a4-b68f-979299525980" "c_8110e4f8-d1f3-4de5-973d-78161ca28452" "c_5eaf7af5-51ca-4aa9-9dfe-1ec83e4be5cc" "c_29cc570b-b4af-49ae-9907-72f484ad20b2" "c_a062f03f-d4e0-4931-b707-e5de653ba588" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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_e2f9988e-1427-42f4-8574-4330aafa8073" => [ "group" => [ "conjunction" => "AND" ] ] "c_b9836df4-5181-4115-aedb-1c112ecfcb91" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_e2f9988e-1427-42f4-8574-4330aafa8073" ] ] "c_a3f3fa35-7d07-44ef-8b16-6a23bfee8f4d" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_e2f9988e-1427-42f4-8574-4330aafa8073" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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_e2f9988e-1427-42f4-8574-4330aafa8073" "c_b9836df4-5181-4115-aedb-1c112ecfcb91" "c_a3f3fa35-7d07-44ef-8b16-6a23bfee8f4d" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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_223542b6-4fb9-45bf-ad55-07fd152e47eb" => [ "group" => [ "conjunction" => "AND" ] ] "c_98a1d896-6ef5-44de-b16a-405df3e9cf49" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_223542b6-4fb9-45bf-ad55-07fd152e47eb" ] ] "c_9dae7722-c789-4508-a017-74f66e43a65b" => [ "condition" => [ "path" => "orga.procedures.id" "operator" => "=" "memberOf" => "c_223542b6-4fb9-45bf-ad55-07fd152e47eb" "value" => "c0eab4e0-c94b-491e-abfa-a659f2cda384" ] ] "c_e581dae2-d834-48d0-a86c-1a77b862b635" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_223542b6-4fb9-45bf-ad55-07fd152e47eb" ] ] "c_75666aa4-7d79-440f-932b-610055db5e7a" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_223542b6-4fb9-45bf-ad55-07fd152e47eb" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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_223542b6-4fb9-45bf-ad55-07fd152e47eb" "c_98a1d896-6ef5-44de-b16a-405df3e9cf49" "c_9dae7722-c789-4508-a017-74f66e43a65b" "c_e581dae2-d834-48d0-a86c-1a77b862b635" "c_75666aa4-7d79-440f-932b-610055db5e7a" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +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_a8632dcd-9a19-4e05-ae96-376ecd421d7d" => [ "group" => [ "conjunction" => "AND" ] ] "c_c83941ca-fe9b-4f94-890c-68b15f722116" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_a8632dcd-9a19-4e05-ae96-376ecd421d7d" ] ] "c_e6f5877a-294f-4ed9-b915-7570bb78b5f0" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "=" "memberOf" => "c_a8632dcd-9a19-4e05-ae96-376ecd421d7d" "value" => "c0eab4e0-c94b-491e-abfa-a659f2cda384" ] ] "c_12437a8c-af96-45f1-bab5-8999e1b4ae20" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_a8632dcd-9a19-4e05-ae96-376ecd421d7d" ] ] "c_9af72528-86f2-4ea5-924f-feb2f50e9d9e" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_a8632dcd-9a19-4e05-ae96-376ecd421d7d" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1745 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1744 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1750 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1749 +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 {#1748 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1747 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1780 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1771 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1770 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1779 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1778 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1777 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1776 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1775 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1774 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1773 +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 {#1769 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1788 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1787 +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 {#1786 +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 {#1785 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1784 +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 {#1768 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1782 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1781 +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 {#1767 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1772 +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 {#1766 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1765 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1783} Symfony\Component\Validator\Constraints\NotBlank {#1782} Symfony\Component\Validator\Constraints\Regex {#1781} ] } ] +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 {#1746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1756 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1755 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1754 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1761 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1760 +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 {#1759 +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 {#1758 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1757 +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 {#1753 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1763 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1762 +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 {#1752 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1751 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1764} Symfony\Component\Validator\Constraints\Type {#1763} Symfony\Component\Validator\Constraints\Choice {#1762} ] } ] +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_a8632dcd-9a19-4e05-ae96-376ecd421d7d" "c_c83941ca-fe9b-4f94-890c-68b15f722116" "c_e6f5877a-294f-4ed9-b915-7570bb78b5f0" "c_12437a8c-af96-45f1-bab5-8999e1b4ae20" "c_9af72528-86f2-4ea5-924f-feb2f50e9d9e" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1794 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1793 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1792 +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 {#1791 +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 {#1790 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1789 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]