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 {#4068 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\NotNull {#2777 +payload: null +groups: [ "Default" ] +message: "This value should not be null." } Symfony\Component\Validator\Constraints\All {#4073 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#4053 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\NotNull {#4075 +payload: null +groups: [ "Default" ] +message: "This value should not be null." } Symfony\Component\Validator\Constraints\AtLeastOneOf {#4072 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#4074 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#4083 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Url {#4084 +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 {#4085 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#4086 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\NotBlank {#4087 +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 {#4092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#4088 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#4096 +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 {#5700 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#5698 -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 @1765462578 {#5682 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000016320000000000000000" #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: 2025-12-11 15:16:18.571483 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1765462578 {#5697 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000016410000000000000000" #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: 2025-12-11 15:16:18.571498 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2387 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2389 -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 @1765462578 {#2420 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009740000000000000000" #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: 2025-12-11 15:16:18.676816 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1765462578 {#2390 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009560000000000000000" #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: 2025-12-11 15:16:18.676828 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2351 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2353 -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 @1765462578 {#5701 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000016450000000000000000" #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: 2025-12-11 15:16:18.677004 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1765462578 {#2354 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009320000000000000000" #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: 2025-12-11 15:16:18.677011 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2317 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2319 -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 @1765462578 {#2388 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009540000000000000000" #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: 2025-12-11 15:16:18.677163 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1765462578 {#2320 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009100000000000000000" #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: 2025-12-11 15:16:18.677170 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2283 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2285 -customerConditions: [] -userConditions: [ "c_f71ba4c3-679a-4cea-aa49-962f9b5d8521" => [ "group" => [ "conjunction" => "AND" ] ] "c_41374f92-718b-4af0-9d55-5d390d290a14" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_f71ba4c3-679a-4cea-aa49-962f9b5d8521" ] ] "c_312153ee-8d81-49e0-9be8-03cd44575e65" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_f71ba4c3-679a-4cea-aa49-962f9b5d8521" ] ] ] -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 @1765462578 {#2286 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000008ee0000000000000000" #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: 2025-12-11 15:16:18.678123 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1765462578 {#2308 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009040000000000000000" #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: 2025-12-11 15:16:18.678131 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2212 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2220 -customerConditions: [] -userConditions: [ "c_41d2da01-cb54-4b7f-8a88-f232bccd0379" => [ "group" => [ "conjunction" => "AND" ] ] "c_29fdac46-b834-4284-a0c8-5f59227a1a10" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_41d2da01-cb54-4b7f-8a88-f232bccd0379" ] ] "c_c241538b-b96a-4360-8e7b-ae2bebfc1f8b" => [ "parameterCondition" => [ "path" => "orga.procedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_41d2da01-cb54-4b7f-8a88-f232bccd0379" ] ] "c_2fd50401-6626-411d-a531-5f73abe98dd6" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_41d2da01-cb54-4b7f-8a88-f232bccd0379" ] ] "c_59305abb-2223-498c-b44e-e9d845b2a08f" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_41d2da01-cb54-4b7f-8a88-f232bccd0379" ] ] ] -procedureConditions: [ "c_6a628b70-7d70-4c29-b981-b310d50e16c2" => [ "group" => [ "conjunction" => "AND" ] ] "c_b800895b-baa6-47d7-a653-d78159d1b48b" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_6a628b70-7d70-4c29-b981-b310d50e16c2" ] ] "c_61661612-1559-4856-b49e-8bf3ef6f867a" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_6a628b70-7d70-4c29-b981-b310d50e16c2" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2215 -customerConditions: [] -userConditions: [ "c_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" => [ "group" => [ "conjunction" => "AND" ] ] "c_891693ec-000b-479d-8a80-e58392b79cf4" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" ] ] "c_4ae5897f-fc44-4de3-b7b5-864bf5047eb1" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" ] ] "c_684b2789-d23d-4f9f-9172-33daf90eae28" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" ] ] "c_81a222b4-d5c8-4bab-9137-8823f08f60e3" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" ] ] ] -procedureConditions: [ "c_adaa8f63-2ce1-47fb-9476-3f5ce43cf06d" => [ "group" => [ "conjunction" => "AND" ] ] "c_32121612-768b-4bd8-a710-6d2589bdde61" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_adaa8f63-2ce1-47fb-9476-3f5ce43cf06d" ] ] "c_689f43ae-96cf-4094-84bb-24424eca8f2c" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_adaa8f63-2ce1-47fb-9476-3f5ce43cf06d" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2221 -customerConditions: [] -userConditions: [ "c_9f15b936-ced3-4688-b7e2-e44fb9eb2e88" => [ "group" => [ "conjunction" => "AND" ] ] "c_6720ca17-b977-4abe-9a29-a4970b25a017" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_9f15b936-ced3-4688-b7e2-e44fb9eb2e88" ] ] "c_f973ef93-0abd-49d7-afbf-8e6b19a818fc" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_9f15b936-ced3-4688-b7e2-e44fb9eb2e88" ] ] ] -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 @1765462578 {#2213 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000008a50000000000000000" #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: 2025-12-11 15:16:18.678558 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1765462578 {#2352 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009300000000000000000" #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: 2025-12-11 15:16:18.678566 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2186 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2185 -customerConditions: [] -userConditions: [ "c_8011df37-bf57-4032-9520-651c435fbdaf" => [ "group" => [ "conjunction" => "AND" ] ] "c_68867e2e-4163-4516-a194-16b5ce8bd686" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_8011df37-bf57-4032-9520-651c435fbdaf" ] ] "c_a7cb8c1e-0a84-45e6-8f46-bc349052037f" => [ "parameterCondition" => [ "path" => "orga.procedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_8011df37-bf57-4032-9520-651c435fbdaf" ] ] "c_11399edd-ffc9-4270-a413-2527908df3df" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_8011df37-bf57-4032-9520-651c435fbdaf" ] ] "c_25e99087-8934-498f-8456-e5610a00f381" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_8011df37-bf57-4032-9520-651c435fbdaf" ] ] ] -procedureConditions: [ "c_e104d284-7e13-4d38-bd7a-4cc81b95bdc5" => [ "group" => [ "conjunction" => "AND" ] ] "c_279dc87f-b510-4aac-947a-3471c403004f" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_e104d284-7e13-4d38-bd7a-4cc81b95bdc5" ] ] "c_93458f8a-4b3a-4145-8bcf-b90a3b8865b1" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_e104d284-7e13-4d38-bd7a-4cc81b95bdc5" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2180 -customerConditions: [] -userConditions: [ "c_d716507a-2a6a-4bf5-9489-8f5a520cc446" => [ "group" => [ "conjunction" => "AND" ] ] "c_349a32ac-62cb-4b6c-9faa-5133bcb55793" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_d716507a-2a6a-4bf5-9489-8f5a520cc446" ] ] "c_fe3235f8-bfb9-430f-85d6-e407e5b31a31" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_d716507a-2a6a-4bf5-9489-8f5a520cc446" ] ] "c_ae75bb1c-1092-4535-9beb-b09c1ba1fc8b" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_d716507a-2a6a-4bf5-9489-8f5a520cc446" ] ] "c_eb2f85e1-7f56-4de6-a60a-f7843b8fa721" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_d716507a-2a6a-4bf5-9489-8f5a520cc446" ] ] ] -procedureConditions: [ "c_009e6c6c-3222-469d-a0d6-b18e4bbaff97" => [ "group" => [ "conjunction" => "AND" ] ] "c_172662f3-26c0-4380-b7f7-2ff9a3e89b42" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_009e6c6c-3222-469d-a0d6-b18e4bbaff97" ] ] "c_9f79a8ed-decc-487c-9c89-527ee6278dba" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_009e6c6c-3222-469d-a0d6-b18e4bbaff97" ] ] ] } ] -name: "feature_set_mein_berlin_procedure_short_name" -label: """ Allows to set a procedure related name used at meinBerlin to\n locate the procedure by mapping these names to linked districts """ -description: "" -exposed: true #createdAt: Carbon\Carbon @1765462578 {#2177 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000008810000000000000000" #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: 2025-12-11 15:16:18.678870 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1765462578 {#2284 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000008ec0000000000000000" #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: 2025-12-11 15:16:18.678877 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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 {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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 {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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_f71ba4c3-679a-4cea-aa49-962f9b5d8521" => [ "group" => [ "conjunction" => "AND" ] ] "c_41374f92-718b-4af0-9d55-5d390d290a14" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_f71ba4c3-679a-4cea-aa49-962f9b5d8521" ] ] "c_312153ee-8d81-49e0-9be8-03cd44575e65" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_f71ba4c3-679a-4cea-aa49-962f9b5d8521" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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_f71ba4c3-679a-4cea-aa49-962f9b5d8521" "c_41374f92-718b-4af0-9d55-5d390d290a14" "c_312153ee-8d81-49e0-9be8-03cd44575e65" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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_41d2da01-cb54-4b7f-8a88-f232bccd0379" => [ "group" => [ "conjunction" => "AND" ] ] "c_29fdac46-b834-4284-a0c8-5f59227a1a10" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_41d2da01-cb54-4b7f-8a88-f232bccd0379" ] ] "c_c241538b-b96a-4360-8e7b-ae2bebfc1f8b" => [ "condition" => [ "path" => "orga.procedures.id" "operator" => "=" "memberOf" => "c_41d2da01-cb54-4b7f-8a88-f232bccd0379" "value" => "cecaa969-09d4-41a0-83fb-92cb873cdccd" ] ] "c_2fd50401-6626-411d-a531-5f73abe98dd6" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_41d2da01-cb54-4b7f-8a88-f232bccd0379" ] ] "c_59305abb-2223-498c-b44e-e9d845b2a08f" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_41d2da01-cb54-4b7f-8a88-f232bccd0379" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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_41d2da01-cb54-4b7f-8a88-f232bccd0379" "c_29fdac46-b834-4284-a0c8-5f59227a1a10" "c_c241538b-b96a-4360-8e7b-ae2bebfc1f8b" "c_2fd50401-6626-411d-a531-5f73abe98dd6" "c_59305abb-2223-498c-b44e-e9d845b2a08f" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" => [ "group" => [ "conjunction" => "AND" ] ] "c_891693ec-000b-479d-8a80-e58392b79cf4" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" ] ] "c_4ae5897f-fc44-4de3-b7b5-864bf5047eb1" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "=" "memberOf" => "c_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" "value" => "cecaa969-09d4-41a0-83fb-92cb873cdccd" ] ] "c_684b2789-d23d-4f9f-9172-33daf90eae28" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" ] ] "c_81a222b4-d5c8-4bab-9137-8823f08f60e3" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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_c5803c7c-c7b3-423e-83b6-7de22d9f7b11" "c_891693ec-000b-479d-8a80-e58392b79cf4" "c_4ae5897f-fc44-4de3-b7b5-864bf5047eb1" "c_684b2789-d23d-4f9f-9172-33daf90eae28" "c_81a222b4-d5c8-4bab-9137-8823f08f60e3" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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_9f15b936-ced3-4688-b7e2-e44fb9eb2e88" => [ "group" => [ "conjunction" => "AND" ] ] "c_6720ca17-b977-4abe-9a29-a4970b25a017" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_9f15b936-ced3-4688-b7e2-e44fb9eb2e88" ] ] "c_f973ef93-0abd-49d7-afbf-8e6b19a818fc" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_9f15b936-ced3-4688-b7e2-e44fb9eb2e88" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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_9f15b936-ced3-4688-b7e2-e44fb9eb2e88" "c_6720ca17-b977-4abe-9a29-a4970b25a017" "c_f973ef93-0abd-49d7-afbf-8e6b19a818fc" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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_8011df37-bf57-4032-9520-651c435fbdaf" => [ "group" => [ "conjunction" => "AND" ] ] "c_68867e2e-4163-4516-a194-16b5ce8bd686" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_8011df37-bf57-4032-9520-651c435fbdaf" ] ] "c_a7cb8c1e-0a84-45e6-8f46-bc349052037f" => [ "condition" => [ "path" => "orga.procedures.id" "operator" => "=" "memberOf" => "c_8011df37-bf57-4032-9520-651c435fbdaf" "value" => "cecaa969-09d4-41a0-83fb-92cb873cdccd" ] ] "c_11399edd-ffc9-4270-a413-2527908df3df" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_8011df37-bf57-4032-9520-651c435fbdaf" ] ] "c_25e99087-8934-498f-8456-e5610a00f381" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_8011df37-bf57-4032-9520-651c435fbdaf" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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_8011df37-bf57-4032-9520-651c435fbdaf" "c_68867e2e-4163-4516-a194-16b5ce8bd686" "c_a7cb8c1e-0a84-45e6-8f46-bc349052037f" "c_11399edd-ffc9-4270-a413-2527908df3df" "c_25e99087-8934-498f-8456-e5610a00f381" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +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_d716507a-2a6a-4bf5-9489-8f5a520cc446" => [ "group" => [ "conjunction" => "AND" ] ] "c_349a32ac-62cb-4b6c-9faa-5133bcb55793" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_d716507a-2a6a-4bf5-9489-8f5a520cc446" ] ] "c_fe3235f8-bfb9-430f-85d6-e407e5b31a31" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "=" "memberOf" => "c_d716507a-2a6a-4bf5-9489-8f5a520cc446" "value" => "cecaa969-09d4-41a0-83fb-92cb873cdccd" ] ] "c_ae75bb1c-1092-4535-9beb-b09c1ba1fc8b" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_d716507a-2a6a-4bf5-9489-8f5a520cc446" ] ] "c_eb2f85e1-7f56-4de6-a60a-f7843b8fa721" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_d716507a-2a6a-4bf5-9489-8f5a520cc446" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#3149 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#3328 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3326 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#3310 +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 {#3016 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#2978 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2954 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3223 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#3254 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#3334 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#3150 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#3069 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#2995 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#3290 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#3281 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#3240 +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 {#3131 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3394 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3379 +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 {#3104 +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 {#3315 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3364 +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 {#3111 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3309 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#3075 +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 {#3120 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#3181 +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 {#3270 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#3092 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3329} Symfony\Component\Validator\Constraints\NotBlank {#3309} Symfony\Component\Validator\Constraints\Regex {#3075} ] } ] +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 {#3183 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3143 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#3177 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#3119 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2611 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#2973 +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 {#3026 +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 {#3126 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3304 +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 {#2962 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#3237 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#3190 +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 {#3005 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#3082 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#2473} Symfony\Component\Validator\Constraints\Type {#3237} Symfony\Component\Validator\Constraints\Choice {#3190} ] } ] +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_d716507a-2a6a-4bf5-9489-8f5a520cc446" "c_349a32ac-62cb-4b6c-9faa-5133bcb55793" "c_fe3235f8-bfb9-430f-85d6-e407e5b31a31" "c_ae75bb1c-1092-4535-9beb-b09c1ba1fc8b" "c_eb2f85e1-7f56-4de6-a60a-f7843b8fa721" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#3383 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#3256 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#3378 +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 {#3293 +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 {#3050 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#3302 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]