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 {#3033 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\NotNull {#2769 +payload: null +groups: [ "Default" ] +message: "This value should not be null." } Symfony\Component\Validator\Constraints\All {#2882 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#3036 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\NotNull {#2856 +payload: null +groups: [ "Default" ] +message: "This value should not be null." } Symfony\Component\Validator\Constraints\AtLeastOneOf {#2715 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2936 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#2897 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Url {#2745 +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 {#2917 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2843 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\NotBlank {#2847 +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 {#3034 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#2931 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#3013 +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 {#5838 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#5836 -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 @1781688661 {#5805 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000016ad0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.934302 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1781688661 {#5835 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000016cb0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.934313 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#6015 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#6013 -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 @1781688661 {#5884 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000016fc0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.937509 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1781688661 {#6012 #endOfTime: false #startOfTime: false #constructedObjectId: "000000000000177c0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.937514 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#6048 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#6046 -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 @1781688661 {#5839 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000016cf0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.937574 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1781688661 {#6045 #endOfTime: false #startOfTime: false #constructedObjectId: "000000000000179d0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.937576 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#6081 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#6079 -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 @1781688661 {#6014 #endOfTime: false #startOfTime: false #constructedObjectId: "000000000000177e0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.937634 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1781688661 {#6078 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000017be0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.937636 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#6115 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#6113 -customerConditions: [] -userConditions: [ "c_7807c619-23a5-4638-ab22-287a228e2867" => [ "group" => [ "conjunction" => "AND" ] ] "c_1065374e-ff73-4482-9d53-b8485f38649c" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_7807c619-23a5-4638-ab22-287a228e2867" ] ] "c_530f0d2e-c176-4f58-80d1-64d1b217f151" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_7807c619-23a5-4638-ab22-287a228e2867" ] ] ] -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 @1781688661 {#6112 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000017e00000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.938095 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1781688661 {#6050 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000017a20000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.938098 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#6186 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#6178 -customerConditions: [] -userConditions: [ "c_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" => [ "group" => [ "conjunction" => "AND" ] ] "c_90a6bfc6-fab5-4bbc-be6a-7d1d9f3b235e" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" ] ] "c_28d88037-815b-41f7-be69-08fff80872ff" => [ "parameterCondition" => [ "path" => "orga.procedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" ] ] "c_4856b6b4-907d-458d-88c9-0861121e5421" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" ] ] "c_0d71dcf4-b7a1-4275-85ad-9cad8d19ceb5" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" ] ] ] -procedureConditions: [ "c_776da304-a576-401e-9f89-1d1f7b365492" => [ "group" => [ "conjunction" => "AND" ] ] "c_862e802a-47a4-440e-8b2f-0bbdf0f7b64c" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_776da304-a576-401e-9f89-1d1f7b365492" ] ] "c_adbad8d9-77f0-4d81-8e3c-e6cc994f82e2" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_776da304-a576-401e-9f89-1d1f7b365492" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#6183 -customerConditions: [] -userConditions: [ "c_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" => [ "group" => [ "conjunction" => "AND" ] ] "c_5ef9733d-b855-468f-8bda-9a3109a882f9" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" ] ] "c_d86fa563-551f-4991-950c-51fc113bc77b" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" ] ] "c_f6fa38b4-f4f7-4032-9ae2-ea090fcb3416" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" ] ] "c_2b5403ad-7bec-42d1-adc1-9cc3a1766a96" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" ] ] ] -procedureConditions: [ "c_1dbfeae4-14e2-4d15-8dee-86409cda6b95" => [ "group" => [ "conjunction" => "AND" ] ] "c_60792b8b-50fd-4971-8881-d96db2f395eb" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_1dbfeae4-14e2-4d15-8dee-86409cda6b95" ] ] "c_ce57d6d3-6e7d-42a4-9752-110de8f09e6b" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_1dbfeae4-14e2-4d15-8dee-86409cda6b95" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#6177 -customerConditions: [] -userConditions: [ "c_50a9f8a3-bf60-47f0-9eb8-34d9da19e5d0" => [ "group" => [ "conjunction" => "AND" ] ] "c_fdb9f658-fbf9-4785-b790-23fada52cebd" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_50a9f8a3-bf60-47f0-9eb8-34d9da19e5d0" ] ] "c_3be2ad82-59e5-468b-9b58-7e18a04ab4c7" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_50a9f8a3-bf60-47f0-9eb8-34d9da19e5d0" ] ] ] -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 @1781688661 {#6185 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000018290000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.938264 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1781688661 {#6047 #endOfTime: false #startOfTime: false #constructedObjectId: "000000000000179f0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.938267 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#6212 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#6213 -customerConditions: [] -userConditions: [ "c_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" => [ "group" => [ "conjunction" => "AND" ] ] "c_12a4df3e-eb0c-488b-b51a-039168694ff3" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" ] ] "c_a0da67b4-3df6-4507-b06a-886e63ce272d" => [ "parameterCondition" => [ "path" => "orga.procedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" ] ] "c_392fcc13-553e-4fac-a515-4ecca0229e42" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" ] ] "c_9e65d318-a0a0-4fa5-8e61-659f89d321a5" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" ] ] ] -procedureConditions: [ "c_ebe9ddaa-b860-4e60-9f01-0ebff1d52ee9" => [ "group" => [ "conjunction" => "AND" ] ] "c_eee81926-57f3-4741-8a52-4d18be230aa0" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_ebe9ddaa-b860-4e60-9f01-0ebff1d52ee9" ] ] "c_a6d28362-db6e-4d83-b9db-c3bbe996ad9e" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_ebe9ddaa-b860-4e60-9f01-0ebff1d52ee9" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#6218 -customerConditions: [] -userConditions: [ "c_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" => [ "group" => [ "conjunction" => "AND" ] ] "c_1ca918f1-c4b7-4507-8fd2-43f085a93ccc" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" ] ] "c_ff724892-2f52-44a8-a577-951ca9af768c" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" ] ] "c_5a1d12f1-232c-4148-86bd-e51fc0b5f2cb" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" ] ] "c_373cdc91-2317-4a4b-b252-23d58e1c0a10" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" ] ] ] -procedureConditions: [ "c_278a03ef-4bf6-4bf7-9365-5e16e9a8c459" => [ "group" => [ "conjunction" => "AND" ] ] "c_c190523d-953b-4b07-8766-f0b3d30c07da" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_278a03ef-4bf6-4bf7-9365-5e16e9a8c459" ] ] "c_eb9583e0-0755-47ba-ab25-3924481b132c" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_278a03ef-4bf6-4bf7-9365-5e16e9a8c459" ] ] ] } ] -name: "feature_set_mein_berlin_district" -label: """ Allows to set a district code used at meinBerlin to\n locate the procedure geographically in Berlin districts """ -description: "" -exposed: true #createdAt: Carbon\Carbon @1781688661 {#6221 #endOfTime: false #startOfTime: false #constructedObjectId: "000000000000184d0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.938369 Europe/Berlin (+02:00) } #updatedAt: Carbon\Carbon @1781688661 {#6114 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000017e20000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2026-06-17 11:31:01.938372 Europe/Berlin (+02:00) } } "constraints" => null "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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 {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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 {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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_7807c619-23a5-4638-ab22-287a228e2867" => [ "group" => [ "conjunction" => "AND" ] ] "c_1065374e-ff73-4482-9d53-b8485f38649c" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_7807c619-23a5-4638-ab22-287a228e2867" ] ] "c_530f0d2e-c176-4f58-80d1-64d1b217f151" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_7807c619-23a5-4638-ab22-287a228e2867" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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_7807c619-23a5-4638-ab22-287a228e2867" "c_1065374e-ff73-4482-9d53-b8485f38649c" "c_530f0d2e-c176-4f58-80d1-64d1b217f151" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" => [ "group" => [ "conjunction" => "AND" ] ] "c_90a6bfc6-fab5-4bbc-be6a-7d1d9f3b235e" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" ] ] "c_28d88037-815b-41f7-be69-08fff80872ff" => [ "condition" => [ "path" => "orga.procedures.id" "operator" => "=" "memberOf" => "c_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" "value" => "d7fd0a9f-871d-4657-97b9-144877c5bb9f" ] ] "c_4856b6b4-907d-458d-88c9-0861121e5421" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" ] ] "c_0d71dcf4-b7a1-4275-85ad-9cad8d19ceb5" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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_d1ca8ff6-e54b-4894-b554-f6e4720aa2c4" "c_90a6bfc6-fab5-4bbc-be6a-7d1d9f3b235e" "c_28d88037-815b-41f7-be69-08fff80872ff" "c_4856b6b4-907d-458d-88c9-0861121e5421" "c_0d71dcf4-b7a1-4275-85ad-9cad8d19ceb5" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" => [ "group" => [ "conjunction" => "AND" ] ] "c_5ef9733d-b855-468f-8bda-9a3109a882f9" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" ] ] "c_d86fa563-551f-4991-950c-51fc113bc77b" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "=" "memberOf" => "c_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" "value" => "d7fd0a9f-871d-4657-97b9-144877c5bb9f" ] ] "c_f6fa38b4-f4f7-4032-9ae2-ea090fcb3416" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" ] ] "c_2b5403ad-7bec-42d1-adc1-9cc3a1766a96" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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_99bd08c3-47a5-4cd9-b1f6-9b4240453ba0" "c_5ef9733d-b855-468f-8bda-9a3109a882f9" "c_d86fa563-551f-4991-950c-51fc113bc77b" "c_f6fa38b4-f4f7-4032-9ae2-ea090fcb3416" "c_2b5403ad-7bec-42d1-adc1-9cc3a1766a96" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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_50a9f8a3-bf60-47f0-9eb8-34d9da19e5d0" => [ "group" => [ "conjunction" => "AND" ] ] "c_fdb9f658-fbf9-4785-b790-23fada52cebd" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" ] "memberOf" => "c_50a9f8a3-bf60-47f0-9eb8-34d9da19e5d0" ] ] "c_3be2ad82-59e5-468b-9b58-7e18a04ab4c7" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_50a9f8a3-bf60-47f0-9eb8-34d9da19e5d0" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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_50a9f8a3-bf60-47f0-9eb8-34d9da19e5d0" "c_fdb9f658-fbf9-4785-b790-23fada52cebd" "c_3be2ad82-59e5-468b-9b58-7e18a04ab4c7" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" => [ "group" => [ "conjunction" => "AND" ] ] "c_12a4df3e-eb0c-488b-b51a-039168694ff3" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" ] ] "c_a0da67b4-3df6-4507-b06a-886e63ce272d" => [ "condition" => [ "path" => "orga.procedures.id" "operator" => "=" "memberOf" => "c_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" "value" => "d7fd0a9f-871d-4657-97b9-144877c5bb9f" ] ] "c_392fcc13-553e-4fac-a515-4ecca0229e42" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" ] ] "c_9e65d318-a0a0-4fa5-8e61-659f89d321a5" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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_b79e1af3-c0e1-4fb1-a7d9-4c23d15896c9" "c_12a4df3e-eb0c-488b-b51a-039168694ff3" "c_a0da67b4-3df6-4507-b06a-886e63ce272d" "c_392fcc13-553e-4fac-a515-4ecca0229e42" "c_9e65d318-a0a0-4fa5-8e61-659f89d321a5" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +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_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" => [ "group" => [ "conjunction" => "AND" ] ] "c_1ca918f1-c4b7-4507-8fd2-43f085a93ccc" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" ] ] "c_ff724892-2f52-44a8-a577-951ca9af768c" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "=" "memberOf" => "c_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" "value" => "d7fd0a9f-871d-4657-97b9-144877c5bb9f" ] ] "c_5a1d12f1-232c-4148-86bd-e51fc0b5f2cb" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" ] ] "c_373cdc91-2317-4a4b-b252-23d58e1c0a10" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" "value" => "8e4172c6-ada2-3352-a3ec-f585a3969933" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#1490 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#1489 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1495 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#1494 +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 {#1493 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#1492 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1525 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1516 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#1515 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#1524 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#1523 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#1522 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#1521 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#1520 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#1519 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#1518 +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 {#1514 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1533 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1532 +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 {#1531 +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 {#1530 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1529 +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 {#1513 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#1527 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#1526 +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 {#1512 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#1517 +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 {#1511 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#1510 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1528} Symfony\Component\Validator\Constraints\NotBlank {#1527} Symfony\Component\Validator\Constraints\Regex {#1526} ] } ] +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 {#1491 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#1501 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#1500 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#1499 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1506 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1505 +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 {#1504 +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 {#1503 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1502 +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 {#1498 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#1508 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#1507 +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 {#1497 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#1496 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1509} Symfony\Component\Validator\Constraints\Type {#1508} Symfony\Component\Validator\Constraints\Choice {#1507} ] } ] +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_d3bc8bb2-48df-44a2-9d28-f4e8ca7daa2f" "c_1ca918f1-c4b7-4507-8fd2-43f085a93ccc" "c_ff724892-2f52-44a8-a577-951ca9af768c" "c_5a1d12f1-232c-4148-86bd-e51fc0b5f2cb" "c_373cdc91-2317-4a4b-b252-23d58e1c0a10" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#1539 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#1538 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#1537 +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 {#1536 +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 {#1535 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#1534 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]