Validator calls
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2285 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2163 -customerConditions: [] -userConditions: [] -procedureConditions: [] } ] -name: "feature_annotated_statement_pdf_rollback_review_status" -label: "Access to bring AnnotatedStatementPDfs from box- and text-review back to their previous statuses." -description: """ Allows running the task to bring all AnnotatedStatements which are in `BOX_REVIEW` status back to\n `READY_TO_REVIEW` and those in TEXT_REVIEW back to `READY_TO_CONVERT`. """ -exposed: true #createdAt: Carbon\Carbon @1764988042 {#2236 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000008bc0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.592279 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1764988042 {#2281 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000008e90000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.592295 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2070 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2047 -customerConditions: [] -userConditions: [ "c_04ee93bb-63d8-48bf-9613-5b16aaa95380" => [ "group" => [ "conjunction" => "AND" ] ] "c_d06c80e5-675d-4179-968e-03276bca237f" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RAICOM" ] "memberOf" => "c_04ee93bb-63d8-48bf-9613-5b16aaa95380" ] ] "c_6bb8d69d-bf57-4ef3-8960-542e62b64fbf" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_04ee93bb-63d8-48bf-9613-5b16aaa95380" ] ] ] -procedureConditions: [] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2077 -customerConditions: [] -userConditions: [ "c_97e772af-67d1-4a4d-b0bf-3698c6037c47" => [ "group" => [ "conjunction" => "AND" ] ] "c_ff603c34-50ed-4e59-9e6f-b361393aedab" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_97e772af-67d1-4a4d-b0bf-3698c6037c47" ] ] "c_b0b279cb-2506-43aa-b8df-f8c95aeeb9d0" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_97e772af-67d1-4a4d-b0bf-3698c6037c47" ] ] "c_c4b74dcf-fcab-4089-af58-f9e7d16ddac9" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_b0b279cb-2506-43aa-b8df-f8c95aeeb9d0" ] ] "c_e6c6cc6a-fb08-4e9b-9d7a-ebbf2830d843" => [ "parameterCondition" => [ "path" => "authorizedProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_b0b279cb-2506-43aa-b8df-f8c95aeeb9d0" ] ] "c_1882e017-fbf6-4df4-8ae8-0dda6c44ac80" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_97e772af-67d1-4a4d-b0bf-3698c6037c47" ] ] "c_38dd9256-4c36-4b8b-a546-1172e7a2223a" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_97e772af-67d1-4a4d-b0bf-3698c6037c47" ] ] ] -procedureConditions: [ "c_6eee7cc1-5441-46d9-8ade-78e3f5e79c67" => [ "group" => [ "conjunction" => "AND" ] ] "c_8bd561c7-a720-41a1-8fd4-f59e4721151d" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_6eee7cc1-5441-46d9-8ade-78e3f5e79c67" ] ] "c_765dd3b8-82e1-4f0b-a1f1-21463575f731" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_6eee7cc1-5441-46d9-8ade-78e3f5e79c67" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2033 -customerConditions: [] -userConditions: [ "c_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" => [ "group" => [ "conjunction" => "AND" ] ] "c_1e325c68-ecaa-46e5-86e9-e32e221354a8" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" ] ] "c_9f04f8e6-8b84-47c3-b063-840edda789a0" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" ] ] "c_7cbcf74a-e0b7-4167-930a-196784aa781a" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" ] ] "c_4aaeb5cf-25a1-4d0d-9449-0b4484230c9b" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" ] ] ] -procedureConditions: [ "c_12f11e97-866a-402b-aea0-ab94c140ada7" => [ "group" => [ "conjunction" => "AND" ] ] "c_553a9357-3280-451d-87fc-e77b03bec18a" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_12f11e97-866a-402b-aea0-ab94c140ada7" ] ] "c_ec2ec371-afb7-4a8d-a7c7-6d8da7607826" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_12f11e97-866a-402b-aea0-ab94c140ada7" ] ] ] } ] -name: "feature_ai_generated_draft_segments" -label: "Allow artificial intelligence generated draft segments." -description: """ Without AI support users can already split a statement text into segments (if the\n corresponding permissions are enabled. With this permission the statement text is\n automatically send to a different server to be processed for an unknown time. When\n the processing is finished an ID to get the generated draft segments is send\n to the application. The draft segments are then fetched from that server and\n stored and provided to the user as initial suggested state when the manual\n segmentation of the statement begins. """ -exposed: true #createdAt: Carbon\Carbon @1764988042 {#2135 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000008570000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.627818 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1764988042 {#2308 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009040000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.627828 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2402 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2400 -customerConditions: [] -userConditions: [ "c_e82be239-d107-4556-816b-7687e4ee1021" => [ "group" => [ "conjunction" => "AND" ] ] "c_5adaf02d-35e2-4fe7-b08b-cc4b62b1697c" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RAICOM" ] "memberOf" => "c_e82be239-d107-4556-816b-7687e4ee1021" ] ] "c_0bf3ee60-9acd-45bb-b765-65bc03f097f1" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_e82be239-d107-4556-816b-7687e4ee1021" ] ] ] -procedureConditions: [] } ] -name: "feature_ai_create_annotated_statement_pdf_pages" -label: "Allows creating pages for an annotated statement pdf (after info provided by PI)." -description: """ At some point in the workflow to create a Statement from a PDF, we expect PI to send us info\n related to the sections in every page from the PDF document. This permission grants the creation\n of such info as AnnotatedStatementPdfPage entities. """ -exposed: true #createdAt: Carbon\Carbon @1764988042 {#2399 #endOfTime: false #startOfTime: false #constructedObjectId: "000000000000095f0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.628049 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1764988042 {#2264 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000008d80000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.628056 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2138 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2433 -customerConditions: [] -userConditions: [ "c_c36024f0-f841-4504-9efa-9bb30e963f73" => [ "group" => [ "conjunction" => "AND" ] ] "c_f638d453-cc44-4279-873f-5d223ab45511" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RAICOM" ] "memberOf" => "c_c36024f0-f841-4504-9efa-9bb30e963f73" ] ] "c_e0669d8b-aaa4-4469-9f7d-151516a6bb9f" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_c36024f0-f841-4504-9efa-9bb30e963f73" ] ] ] -procedureConditions: [] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2435 -customerConditions: [] -userConditions: [ "c_1d115746-7a0c-4638-9f1a-5f2ddcabc1be" => [ "group" => [ "conjunction" => "AND" ] ] "c_996a27c4-285f-4215-b8d9-b8a2b79c8b83" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_1d115746-7a0c-4638-9f1a-5f2ddcabc1be" ] ] "c_7bd1a8df-8dc7-4ebe-8b26-8c0996d31c94" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_1d115746-7a0c-4638-9f1a-5f2ddcabc1be" ] ] ] -procedureConditions: [] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2432 -customerConditions: [] -userConditions: [ "c_54c11975-73e5-43d9-804b-452890794215" => [ "group" => [ "conjunction" => "AND" ] ] "c_d8a30c45-3aba-48b4-8c87-6dfce28064c0" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RDATA" ] "memberOf" => "c_54c11975-73e5-43d9-804b-452890794215" ] ] "c_665a99f4-fca0-4dcd-8ff2-5e015f589904" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_54c11975-73e5-43d9-804b-452890794215" ] ] ] -procedureConditions: [ "c_81cdde0b-d411-41d8-9ff2-49520d917d47" => [ "parameterCondition" => [ "parameter" => "$currentUserId" "operator" => "=" "path" => "dataInputOrganisations.users.id" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2438 -customerConditions: [] -userConditions: [ "c_1dd265b0-1119-4553-a980-d971b7e19f5d" => [ "group" => [ "conjunction" => "AND" ] ] "c_b995fddb-4889-466a-8464-ff6c21ed2c05" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_1dd265b0-1119-4553-a980-d971b7e19f5d" ] ] "c_ff162123-b587-407c-b1b9-5782cc9b5714" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_1dd265b0-1119-4553-a980-d971b7e19f5d" ] ] "c_6b82ebec-0002-4adf-a3ee-0cefccd45573" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_ff162123-b587-407c-b1b9-5782cc9b5714" ] ] "c_9a973a71-8f11-4ad6-a13a-f79dd0c14ce4" => [ "parameterCondition" => [ "path" => "authorizedProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_ff162123-b587-407c-b1b9-5782cc9b5714" ] ] "c_dd28ca30-394a-4801-bd3f-e89a38c7680d" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_1dd265b0-1119-4553-a980-d971b7e19f5d" ] ] "c_0a34edd4-9427-4f4d-bdeb-467ca997ce34" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_1dd265b0-1119-4553-a980-d971b7e19f5d" ] ] ] -procedureConditions: [ "c_479f6ef0-f029-4883-8f4e-021c15ecf461" => [ "group" => [ "conjunction" => "AND" ] ] "c_348b9da0-93d0-4c3d-a244-e9dfcd33e55a" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_479f6ef0-f029-4883-8f4e-021c15ecf461" ] ] "c_8fd553a6-c545-4f2b-a7b2-1ee656a6f049" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_479f6ef0-f029-4883-8f4e-021c15ecf461" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2441 -customerConditions: [] -userConditions: [ "c_7e8d7a70-78d8-4ff9-a009-782570133920" => [ "group" => [ "conjunction" => "AND" ] ] "c_5d51ef36-a44d-4376-8365-b57fc8600694" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_7e8d7a70-78d8-4ff9-a009-782570133920" ] ] "c_d15dba65-3b9e-44aa-b18d-992b4fd016c5" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_7e8d7a70-78d8-4ff9-a009-782570133920" ] ] "c_acb535b8-7a71-48c5-916f-2b82e98de7ee" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_7e8d7a70-78d8-4ff9-a009-782570133920" ] ] "c_a0252b3e-6323-440d-95e0-6b0e30530ee7" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_7e8d7a70-78d8-4ff9-a009-782570133920" ] ] ] -procedureConditions: [ "c_1c460285-885b-42f9-b4af-d21b7cabc415" => [ "group" => [ "conjunction" => "AND" ] ] "c_3846cede-b131-4f58-a6f8-f2d157ec8ac7" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_1c460285-885b-42f9-b4af-d21b7cabc415" ] ] "c_f69261da-0e12-4eaf-bc4b-5c5cc3221ba7" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_1c460285-885b-42f9-b4af-d21b7cabc415" ] ] ] } ] -name: "feature_import_statement_pdf" -label: "Upload and annotate PDF files to create statements from it." -description: """ When enabled users are able to upload PDF files which are then automatically processed to annotate\n relevant information in the pages. After the processing is done the user can review and adjust the\n annotations. When the review is done a statement can be created from the data annotated in the PDF\n file with the PDF file attached to the statement. """ -exposed: true #createdAt: Carbon\Carbon @1764988042 {#2444 #endOfTime: false #startOfTime: false #constructedObjectId: "000000000000098c0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.628526 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1764988042 {#2437 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009850000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.628534 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2401 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2470 -customerConditions: [] -userConditions: [ "c_503f1ad7-793d-4a78-a1f6-b082b878f94f" => [ "group" => [ "conjunction" => "AND" ] ] "c_cf51621f-28a8-446e-a36e-b6ef3cbc0275" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RDATA" ] "memberOf" => "c_503f1ad7-793d-4a78-a1f6-b082b878f94f" ] ] "c_c0eaf0bf-4143-4dda-aa90-7cc7c4cad9d7" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_503f1ad7-793d-4a78-a1f6-b082b878f94f" ] ] ] -procedureConditions: [ "c_66f33c3b-4573-4859-b0a9-3152bb381328" => [ "parameterCondition" => [ "parameter" => "$currentUserId" "operator" => "=" "path" => "dataInputOrganisations.users.id" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2473 -customerConditions: [] -userConditions: [ "c_3b2a0b61-6551-4e82-97a4-459984228bfe" => [ "group" => [ "conjunction" => "AND" ] ] "c_5e0b07c9-2cf1-40eb-8d8f-21a6d29f030a" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_3b2a0b61-6551-4e82-97a4-459984228bfe" ] ] "c_094aa31b-f3e9-4c7a-aadf-f4994d08d0ce" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_3b2a0b61-6551-4e82-97a4-459984228bfe" ] ] "c_d98cd82e-b844-4751-bc3e-a10a2fbba695" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_094aa31b-f3e9-4c7a-aadf-f4994d08d0ce" ] ] "c_a43feb80-219b-420c-9305-c94d1e9438a2" => [ "parameterCondition" => [ "path" => "authorizedProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_094aa31b-f3e9-4c7a-aadf-f4994d08d0ce" ] ] "c_bb77ea52-3441-43ff-9618-b2b1c2035f93" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_3b2a0b61-6551-4e82-97a4-459984228bfe" ] ] "c_a352cab0-a2a7-4c58-a8c2-56637d411fd6" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_3b2a0b61-6551-4e82-97a4-459984228bfe" ] ] ] -procedureConditions: [ "c_539de308-4749-4e8a-8028-63820ca1ef8f" => [ "group" => [ "conjunction" => "AND" ] ] "c_3ac85784-a3a2-485a-a6d4-53a2900dc18e" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_539de308-4749-4e8a-8028-63820ca1ef8f" ] ] "c_522b85d6-5513-437b-b9fe-9a9a1968e880" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_539de308-4749-4e8a-8028-63820ca1ef8f" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2476 -customerConditions: [] -userConditions: [ "c_8a259751-0c21-4fdd-899d-d4307007e784" => [ "group" => [ "conjunction" => "AND" ] ] "c_44543a05-4f33-4c4b-8812-2460f687875b" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_8a259751-0c21-4fdd-899d-d4307007e784" ] ] "c_feecc724-f965-4874-9308-02b2a7696133" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_8a259751-0c21-4fdd-899d-d4307007e784" ] ] "c_ca1417c6-b76d-4f21-a0f4-0b9bc5f9bdcd" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_8a259751-0c21-4fdd-899d-d4307007e784" ] ] "c_b5d37df4-40fe-4181-be76-413eaae36c4d" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_8a259751-0c21-4fdd-899d-d4307007e784" ] ] ] -procedureConditions: [ "c_389c74e2-01ae-4994-9cd1-de02e63b1de7" => [ "group" => [ "conjunction" => "AND" ] ] "c_4e1c9bc2-08ad-42d9-858d-33c747c21539" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_389c74e2-01ae-4994-9cd1-de02e63b1de7" ] ] "c_12d48af5-1f84-4884-b295-79f4250bead8" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_389c74e2-01ae-4994-9cd1-de02e63b1de7" ] ] ] } ] -name: "feature_delete_statement_pdf" -label: "Delete uploaded PDFs files when statements are not yet created." -description: """ Allow to remove uploaded Pdfs which don't have statements (Annotated Statement Pdf with Status\n ready_to_review, reviewed und ready_to_convert ). Annotated Statement Pdf with the status converted\n are not allowed to be deleted.\n Relevant Annotated Statements Pages and Files will be deleted too when the relevant annotated statement pdf\n is removed """ -exposed: true #createdAt: Carbon\Carbon @1764988042 {#2479 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009af0000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.628943 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1764988042 {#2469 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009a50000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.628950 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2509 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2506 -customerConditions: [] -userConditions: [ "c_744b4b5d-277e-4cba-916b-c7519a33f9e4" => [ "group" => [ "conjunction" => "AND" ] ] "c_efc02743-9512-4865-9d1f-e411a3d400df" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RDATA" ] "memberOf" => "c_744b4b5d-277e-4cba-916b-c7519a33f9e4" ] ] "c_3d3aa697-a17e-4e81-abee-6a7710eee0d9" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_744b4b5d-277e-4cba-916b-c7519a33f9e4" ] ] ] -procedureConditions: [] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2508 -customerConditions: [] -userConditions: [ "c_46aeb242-e788-432e-80cd-aed1832addb1" => [ "group" => [ "conjunction" => "AND" ] ] "c_4e2a1009-0173-405d-bc2d-497f3624b04d" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_46aeb242-e788-432e-80cd-aed1832addb1" ] ] "c_7c723ce8-b2c2-4e28-a8b6-8808fb4dd8eb" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_46aeb242-e788-432e-80cd-aed1832addb1" ] ] "c_d529d711-ff6f-411e-a449-2fb8619a3ceb" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_7c723ce8-b2c2-4e28-a8b6-8808fb4dd8eb" ] ] "c_6b980610-4268-4f6a-9ea8-2b196b0c156f" => [ "parameterCondition" => [ "path" => "authorizedProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_7c723ce8-b2c2-4e28-a8b6-8808fb4dd8eb" ] ] "c_882a91e6-1b1a-4c3d-8624-0e7ee4465f4e" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" "RDATA" ] "memberOf" => "c_46aeb242-e788-432e-80cd-aed1832addb1" ] ] "c_f406b7fd-50ae-4806-842e-9d4dd0238589" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_46aeb242-e788-432e-80cd-aed1832addb1" ] ] ] -procedureConditions: [ "c_8ac61d89-2454-4579-828c-05e14b6ccaa8" => [ "group" => [ "conjunction" => "AND" ] ] "c_ee65fe9e-60df-4c30-80d2-2182e0542f7c" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_8ac61d89-2454-4579-828c-05e14b6ccaa8" ] ] "c_ebac3683-43ae-44a9-9a56-e4790d62d66f" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_8ac61d89-2454-4579-828c-05e14b6ccaa8" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2512 -customerConditions: [] -userConditions: [ "c_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" => [ "group" => [ "conjunction" => "AND" ] ] "c_e649b7cc-46e7-4d27-b5eb-4542b0e7c9dd" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" ] ] "c_effc514f-d9cf-4e95-b3d1-7e197a286301" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" ] ] "c_ff8e5918-e25e-4284-b815-f785f3390ff8" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" "RDATA" ] "memberOf" => "c_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" ] ] "c_272437a7-62ab-411e-9cee-d1c6d3e62286" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" ] ] ] -procedureConditions: [ "c_e5a08223-0942-46b7-a772-d30f66366d5e" => [ "group" => [ "conjunction" => "AND" ] ] "c_c792b0a8-45bd-497b-be77-1402a073b7d4" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_e5a08223-0942-46b7-a772-d30f66366d5e" ] ] "c_29cb4bdd-6755-44c6-a7ea-e87aba3dc99d" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_e5a08223-0942-46b7-a772-d30f66366d5e" ] ] ] } ] -name: "feature_import_statement_via_email" -label: "Allow the statement import via e-mails." -description: """ Planners may receive e-mails containing statements and want to forward them into the application into a\n specific procedure. This permission will enable the general functionality and adds a section to the\n procedure settings where allowed email addresses can be configured as well as enabling a tab in the\n import center to view and further process incoming emails. A list of these forwarded\n e-mails will be shown in the import area in the target procedure. From there statements can be\n created from the e-mail. Both the list as well as the creation from e-mail items are only\n possible if this permission is enabled. """ -exposed: true #createdAt: Carbon\Carbon @1764988042 {#2515 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009d30000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.629421 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1764988042 {#2481 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009b10000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.629428 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
ResolvablePermissionCollection.php
line ():
No violations
[ "value" => demosplan\DemosPlanCoreBundle\Permissions\ResolvablePermission {#2540 -conditions: [ DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2541 -customerConditions: [] -userConditions: [ "c_f17dec0d-7275-4b84-98af-12fe40dd17eb" => [ "group" => [ "conjunction" => "AND" ] ] "c_1ab57381-7e46-4b6b-b584-af5bcb2a9dac" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_f17dec0d-7275-4b84-98af-12fe40dd17eb" ] ] "c_86257d75-cd07-4a99-ba77-0f8bb6e27000" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_f17dec0d-7275-4b84-98af-12fe40dd17eb" ] ] "c_a8e43698-60b1-445d-959a-aea50625f49b" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_86257d75-cd07-4a99-ba77-0f8bb6e27000" ] ] "c_511ec954-57fa-4cb5-a8a3-fea9708dd248" => [ "parameterCondition" => [ "path" => "authorizedProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_86257d75-cd07-4a99-ba77-0f8bb6e27000" ] ] "c_3441efe4-f25d-4698-8224-72124d895781" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPHA" ] "memberOf" => "c_f17dec0d-7275-4b84-98af-12fe40dd17eb" ] ] "c_aef89c7c-05c6-44e2-87f4-615447cf61a6" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_f17dec0d-7275-4b84-98af-12fe40dd17eb" ] ] ] -procedureConditions: [ "c_55569364-c6fb-4d26-be47-297f073cf5a9" => [ "group" => [ "conjunction" => "AND" ] ] "c_e5c26157-646d-4c72-bea3-fdff075ac214" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_55569364-c6fb-4d26-be47-297f073cf5a9" ] ] "c_724ead0a-3912-465d-a7df-e556ffc9c191" => [ "condition" => [ "path" => "orga.id" "operator" => "IS NOT NULL" "memberOf" => "c_55569364-c6fb-4d26-be47-297f073cf5a9" ] ] ] } DemosEurope\DemosplanAddon\Permission\PermissionCondition {#2546 -customerConditions: [] -userConditions: [ "c_40682b41-27ba-4552-b873-47c977bfb902" => [ "group" => [ "conjunction" => "AND" ] ] "c_8cafda1a-e2c4-4e97-918f-e04ea46f1719" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_40682b41-27ba-4552-b873-47c977bfb902" ] ] "c_6df9874a-2679-4073-b2ff-fe127c5c833d" => [ "parameterCondition" => [ "path" => "orga.administratableProcedures.id" "parameter" => "$currentProcedureId" "operator" => "=" "memberOf" => "c_40682b41-27ba-4552-b873-47c977bfb902" ] ] "c_a6f470a2-30f2-4303-b9d6-eaffb17aa2f5" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPHA" ] "memberOf" => "c_40682b41-27ba-4552-b873-47c977bfb902" ] ] "c_242e9c56-0044-4a5a-8442-dcb866e30f0f" => [ "parameterCondition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "parameter" => "$currentCustomerId" "memberOf" => "c_40682b41-27ba-4552-b873-47c977bfb902" ] ] ] -procedureConditions: [ "c_55a1937d-87a8-4472-9422-6ccf3f298985" => [ "group" => [ "conjunction" => "AND" ] ] "c_5e48fb9a-4a04-4493-b6b9-61615cce573e" => [ "condition" => [ "value" => false "path" => "deleted" "operator" => "=" "memberOf" => "c_55a1937d-87a8-4472-9422-6ccf3f298985" ] ] "c_90f65019-63e2-41a2-97d6-ee98cd729e99" => [ "condition" => [ "value" => 0 "path" => "planningOffices" "operator" => "NOT SIZE" "memberOf" => "c_55a1937d-87a8-4472-9422-6ccf3f298985" ] ] ] } ] -name: "feature_write_import_statement_email_addresses" -label: "In the settings for each procedure an individual list of email addresses can be set." -description: "Only addresses in that list are allowed to send statements via email into the procedure." -exposed: true #createdAt: Carbon\Carbon @1764988042 {#2549 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009f50000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.629808 Europe/Berlin (+01:00) } #updatedAt: Carbon\Carbon @1764988042 {#2434 #endOfTime: false #startOfTime: false #constructedObjectId: "00000000000009820000000000000000" #localMonthsOverflow: null #localYearsOverflow: null #localStrictModeEnabled: null #localHumanDiffOptions: null #localToStringFormat: null #localSerializer: null #localMacros: null #localGenericMacros: null #localFormatFunction: null #localTranslator: null #dumpProperties: [ "date" "timezone_type" "timezone" ] #dumpLocale: null #dumpDateProperties: null date: 2025-12-06 03:27:22.629816 Europe/Berlin (+01:00) } } "constraints" => null "groups" => null ]
In
DrupalFilterValidator.php
line ():
No violations
public function validateFilter(mixed $filter): void{$filterSchemaViolations = $this->validator->validate($filter, $this->filterSchemaConstraints);$filterNameViolations = $this->validator->validate(array_keys($filter), $this->filterNamesConstraints);$filterSchemaViolations->addAll($filterNameViolations);if (0 !== $filterSchemaViolations->count()) {
[ "value" => [] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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 {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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 {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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 {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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 {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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 {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_04ee93bb-63d8-48bf-9613-5b16aaa95380" => [ "group" => [ "conjunction" => "AND" ] ] "c_d06c80e5-675d-4179-968e-03276bca237f" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RAICOM" ] "memberOf" => "c_04ee93bb-63d8-48bf-9613-5b16aaa95380" ] ] "c_6bb8d69d-bf57-4ef3-8960-542e62b64fbf" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_04ee93bb-63d8-48bf-9613-5b16aaa95380" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_04ee93bb-63d8-48bf-9613-5b16aaa95380" "c_d06c80e5-675d-4179-968e-03276bca237f" "c_6bb8d69d-bf57-4ef3-8960-542e62b64fbf" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_97e772af-67d1-4a4d-b0bf-3698c6037c47" => [ "group" => [ "conjunction" => "AND" ] ] "c_ff603c34-50ed-4e59-9e6f-b361393aedab" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_97e772af-67d1-4a4d-b0bf-3698c6037c47" ] ] "c_b0b279cb-2506-43aa-b8df-f8c95aeeb9d0" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_97e772af-67d1-4a4d-b0bf-3698c6037c47" ] ] "c_c4b74dcf-fcab-4089-af58-f9e7d16ddac9" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_b0b279cb-2506-43aa-b8df-f8c95aeeb9d0" ] ] "c_e6c6cc6a-fb08-4e9b-9d7a-ebbf2830d843" => [ "condition" => [ "path" => "authorizedProcedures.id" "operator" => "FALSE" "memberOf" => "c_b0b279cb-2506-43aa-b8df-f8c95aeeb9d0" ] ] "c_1882e017-fbf6-4df4-8ae8-0dda6c44ac80" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_97e772af-67d1-4a4d-b0bf-3698c6037c47" ] ] "c_38dd9256-4c36-4b8b-a546-1172e7a2223a" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_97e772af-67d1-4a4d-b0bf-3698c6037c47" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_97e772af-67d1-4a4d-b0bf-3698c6037c47" "c_ff603c34-50ed-4e59-9e6f-b361393aedab" "c_b0b279cb-2506-43aa-b8df-f8c95aeeb9d0" "c_c4b74dcf-fcab-4089-af58-f9e7d16ddac9" "c_e6c6cc6a-fb08-4e9b-9d7a-ebbf2830d843" "c_1882e017-fbf6-4df4-8ae8-0dda6c44ac80" "c_38dd9256-4c36-4b8b-a546-1172e7a2223a" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" => [ "group" => [ "conjunction" => "AND" ] ] "c_1e325c68-ecaa-46e5-86e9-e32e221354a8" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" ] ] "c_9f04f8e6-8b84-47c3-b063-840edda789a0" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" ] ] "c_7cbcf74a-e0b7-4167-930a-196784aa781a" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPPO" ] "memberOf" => "c_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" ] ] "c_4aaeb5cf-25a1-4d0d-9449-0b4484230c9b" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_1568f716-f9d8-4c0d-bccd-7bf8902f67a1" "c_1e325c68-ecaa-46e5-86e9-e32e221354a8" "c_9f04f8e6-8b84-47c3-b063-840edda789a0" "c_7cbcf74a-e0b7-4167-930a-196784aa781a" "c_4aaeb5cf-25a1-4d0d-9449-0b4484230c9b" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_e82be239-d107-4556-816b-7687e4ee1021" => [ "group" => [ "conjunction" => "AND" ] ] "c_5adaf02d-35e2-4fe7-b08b-cc4b62b1697c" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RAICOM" ] "memberOf" => "c_e82be239-d107-4556-816b-7687e4ee1021" ] ] "c_0bf3ee60-9acd-45bb-b765-65bc03f097f1" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_e82be239-d107-4556-816b-7687e4ee1021" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_e82be239-d107-4556-816b-7687e4ee1021" "c_5adaf02d-35e2-4fe7-b08b-cc4b62b1697c" "c_0bf3ee60-9acd-45bb-b765-65bc03f097f1" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_c36024f0-f841-4504-9efa-9bb30e963f73" => [ "group" => [ "conjunction" => "AND" ] ] "c_f638d453-cc44-4279-873f-5d223ab45511" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RAICOM" ] "memberOf" => "c_c36024f0-f841-4504-9efa-9bb30e963f73" ] ] "c_e0669d8b-aaa4-4469-9f7d-151516a6bb9f" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_c36024f0-f841-4504-9efa-9bb30e963f73" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_c36024f0-f841-4504-9efa-9bb30e963f73" "c_f638d453-cc44-4279-873f-5d223ab45511" "c_e0669d8b-aaa4-4469-9f7d-151516a6bb9f" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_1d115746-7a0c-4638-9f1a-5f2ddcabc1be" => [ "group" => [ "conjunction" => "AND" ] ] "c_996a27c4-285f-4215-b8d9-b8a2b79c8b83" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_1d115746-7a0c-4638-9f1a-5f2ddcabc1be" ] ] "c_7bd1a8df-8dc7-4ebe-8b26-8c0996d31c94" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_1d115746-7a0c-4638-9f1a-5f2ddcabc1be" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_1d115746-7a0c-4638-9f1a-5f2ddcabc1be" "c_996a27c4-285f-4215-b8d9-b8a2b79c8b83" "c_7bd1a8df-8dc7-4ebe-8b26-8c0996d31c94" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_54c11975-73e5-43d9-804b-452890794215" => [ "group" => [ "conjunction" => "AND" ] ] "c_d8a30c45-3aba-48b4-8c87-6dfce28064c0" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RDATA" ] "memberOf" => "c_54c11975-73e5-43d9-804b-452890794215" ] ] "c_665a99f4-fca0-4dcd-8ff2-5e015f589904" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_54c11975-73e5-43d9-804b-452890794215" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_54c11975-73e5-43d9-804b-452890794215" "c_d8a30c45-3aba-48b4-8c87-6dfce28064c0" "c_665a99f4-fca0-4dcd-8ff2-5e015f589904" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_1dd265b0-1119-4553-a980-d971b7e19f5d" => [ "group" => [ "conjunction" => "AND" ] ] "c_b995fddb-4889-466a-8464-ff6c21ed2c05" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_1dd265b0-1119-4553-a980-d971b7e19f5d" ] ] "c_ff162123-b587-407c-b1b9-5782cc9b5714" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_1dd265b0-1119-4553-a980-d971b7e19f5d" ] ] "c_6b82ebec-0002-4adf-a3ee-0cefccd45573" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_ff162123-b587-407c-b1b9-5782cc9b5714" ] ] "c_9a973a71-8f11-4ad6-a13a-f79dd0c14ce4" => [ "condition" => [ "path" => "authorizedProcedures.id" "operator" => "FALSE" "memberOf" => "c_ff162123-b587-407c-b1b9-5782cc9b5714" ] ] "c_dd28ca30-394a-4801-bd3f-e89a38c7680d" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_1dd265b0-1119-4553-a980-d971b7e19f5d" ] ] "c_0a34edd4-9427-4f4d-bdeb-467ca997ce34" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_1dd265b0-1119-4553-a980-d971b7e19f5d" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_1dd265b0-1119-4553-a980-d971b7e19f5d" "c_b995fddb-4889-466a-8464-ff6c21ed2c05" "c_ff162123-b587-407c-b1b9-5782cc9b5714" "c_6b82ebec-0002-4adf-a3ee-0cefccd45573" "c_9a973a71-8f11-4ad6-a13a-f79dd0c14ce4" "c_dd28ca30-394a-4801-bd3f-e89a38c7680d" "c_0a34edd4-9427-4f4d-bdeb-467ca997ce34" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_7e8d7a70-78d8-4ff9-a009-782570133920" => [ "group" => [ "conjunction" => "AND" ] ] "c_5d51ef36-a44d-4376-8365-b57fc8600694" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_7e8d7a70-78d8-4ff9-a009-782570133920" ] ] "c_d15dba65-3b9e-44aa-b18d-992b4fd016c5" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_7e8d7a70-78d8-4ff9-a009-782570133920" ] ] "c_acb535b8-7a71-48c5-916f-2b82e98de7ee" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_7e8d7a70-78d8-4ff9-a009-782570133920" ] ] "c_a0252b3e-6323-440d-95e0-6b0e30530ee7" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_7e8d7a70-78d8-4ff9-a009-782570133920" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_7e8d7a70-78d8-4ff9-a009-782570133920" "c_5d51ef36-a44d-4376-8365-b57fc8600694" "c_d15dba65-3b9e-44aa-b18d-992b4fd016c5" "c_acb535b8-7a71-48c5-916f-2b82e98de7ee" "c_a0252b3e-6323-440d-95e0-6b0e30530ee7" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_503f1ad7-793d-4a78-a1f6-b082b878f94f" => [ "group" => [ "conjunction" => "AND" ] ] "c_cf51621f-28a8-446e-a36e-b6ef3cbc0275" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RDATA" ] "memberOf" => "c_503f1ad7-793d-4a78-a1f6-b082b878f94f" ] ] "c_c0eaf0bf-4143-4dda-aa90-7cc7c4cad9d7" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_503f1ad7-793d-4a78-a1f6-b082b878f94f" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_503f1ad7-793d-4a78-a1f6-b082b878f94f" "c_cf51621f-28a8-446e-a36e-b6ef3cbc0275" "c_c0eaf0bf-4143-4dda-aa90-7cc7c4cad9d7" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_3b2a0b61-6551-4e82-97a4-459984228bfe" => [ "group" => [ "conjunction" => "AND" ] ] "c_5e0b07c9-2cf1-40eb-8d8f-21a6d29f030a" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_3b2a0b61-6551-4e82-97a4-459984228bfe" ] ] "c_094aa31b-f3e9-4c7a-aadf-f4994d08d0ce" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_3b2a0b61-6551-4e82-97a4-459984228bfe" ] ] "c_d98cd82e-b844-4751-bc3e-a10a2fbba695" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_094aa31b-f3e9-4c7a-aadf-f4994d08d0ce" ] ] "c_a43feb80-219b-420c-9305-c94d1e9438a2" => [ "condition" => [ "path" => "authorizedProcedures.id" "operator" => "FALSE" "memberOf" => "c_094aa31b-f3e9-4c7a-aadf-f4994d08d0ce" ] ] "c_bb77ea52-3441-43ff-9618-b2b1c2035f93" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_3b2a0b61-6551-4e82-97a4-459984228bfe" ] ] "c_a352cab0-a2a7-4c58-a8c2-56637d411fd6" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_3b2a0b61-6551-4e82-97a4-459984228bfe" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_3b2a0b61-6551-4e82-97a4-459984228bfe" "c_5e0b07c9-2cf1-40eb-8d8f-21a6d29f030a" "c_094aa31b-f3e9-4c7a-aadf-f4994d08d0ce" "c_d98cd82e-b844-4751-bc3e-a10a2fbba695" "c_a43feb80-219b-420c-9305-c94d1e9438a2" "c_bb77ea52-3441-43ff-9618-b2b1c2035f93" "c_a352cab0-a2a7-4c58-a8c2-56637d411fd6" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_8a259751-0c21-4fdd-899d-d4307007e784" => [ "group" => [ "conjunction" => "AND" ] ] "c_44543a05-4f33-4c4b-8812-2460f687875b" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_8a259751-0c21-4fdd-899d-d4307007e784" ] ] "c_feecc724-f965-4874-9308-02b2a7696133" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_8a259751-0c21-4fdd-899d-d4307007e784" ] ] "c_ca1417c6-b76d-4f21-a0f4-0b9bc5f9bdcd" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_8a259751-0c21-4fdd-899d-d4307007e784" ] ] "c_b5d37df4-40fe-4181-be76-413eaae36c4d" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_8a259751-0c21-4fdd-899d-d4307007e784" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_8a259751-0c21-4fdd-899d-d4307007e784" "c_44543a05-4f33-4c4b-8812-2460f687875b" "c_feecc724-f965-4874-9308-02b2a7696133" "c_ca1417c6-b76d-4f21-a0f4-0b9bc5f9bdcd" "c_b5d37df4-40fe-4181-be76-413eaae36c4d" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_744b4b5d-277e-4cba-916b-c7519a33f9e4" => [ "group" => [ "conjunction" => "AND" ] ] "c_efc02743-9512-4865-9d1f-e411a3d400df" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RDATA" ] "memberOf" => "c_744b4b5d-277e-4cba-916b-c7519a33f9e4" ] ] "c_3d3aa697-a17e-4e81-abee-6a7710eee0d9" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_744b4b5d-277e-4cba-916b-c7519a33f9e4" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_744b4b5d-277e-4cba-916b-c7519a33f9e4" "c_efc02743-9512-4865-9d1f-e411a3d400df" "c_3d3aa697-a17e-4e81-abee-6a7710eee0d9" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_46aeb242-e788-432e-80cd-aed1832addb1" => [ "group" => [ "conjunction" => "AND" ] ] "c_4e2a1009-0173-405d-bc2d-497f3624b04d" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_46aeb242-e788-432e-80cd-aed1832addb1" ] ] "c_7c723ce8-b2c2-4e28-a8b6-8808fb4dd8eb" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_46aeb242-e788-432e-80cd-aed1832addb1" ] ] "c_d529d711-ff6f-411e-a449-2fb8619a3ceb" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_7c723ce8-b2c2-4e28-a8b6-8808fb4dd8eb" ] ] "c_6b980610-4268-4f6a-9ea8-2b196b0c156f" => [ "condition" => [ "path" => "authorizedProcedures.id" "operator" => "FALSE" "memberOf" => "c_7c723ce8-b2c2-4e28-a8b6-8808fb4dd8eb" ] ] "c_882a91e6-1b1a-4c3d-8624-0e7ee4465f4e" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" "RDATA" ] "memberOf" => "c_46aeb242-e788-432e-80cd-aed1832addb1" ] ] "c_f406b7fd-50ae-4806-842e-9d4dd0238589" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_46aeb242-e788-432e-80cd-aed1832addb1" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_46aeb242-e788-432e-80cd-aed1832addb1" "c_4e2a1009-0173-405d-bc2d-497f3624b04d" "c_7c723ce8-b2c2-4e28-a8b6-8808fb4dd8eb" "c_d529d711-ff6f-411e-a449-2fb8619a3ceb" "c_6b980610-4268-4f6a-9ea8-2b196b0c156f" "c_882a91e6-1b1a-4c3d-8624-0e7ee4465f4e" "c_f406b7fd-50ae-4806-842e-9d4dd0238589" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" => [ "group" => [ "conjunction" => "AND" ] ] "c_e649b7cc-46e7-4d27-b5eb-4542b0e7c9dd" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" ] ] "c_effc514f-d9cf-4e95-b3d1-7e197a286301" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" ] ] "c_ff8e5918-e25e-4284-b815-f785f3390ff8" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" "RDATA" ] "memberOf" => "c_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" ] ] "c_272437a7-62ab-411e-9cee-d1c6d3e62286" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_9874e15c-9ee3-4d19-ba1e-ffffe6fedae2" "c_e649b7cc-46e7-4d27-b5eb-4542b0e7c9dd" "c_effc514f-d9cf-4e95-b3d1-7e197a286301" "c_ff8e5918-e25e-4284-b815-f785f3390ff8" "c_272437a7-62ab-411e-9cee-d1c6d3e62286" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_f17dec0d-7275-4b84-98af-12fe40dd17eb" => [ "group" => [ "conjunction" => "AND" ] ] "c_1ab57381-7e46-4b6b-b584-af5bcb2a9dac" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RCOMAU" "RMOPSA" "RMOPSD" "RMOPHA" "RMOHAW" ] "memberOf" => "c_f17dec0d-7275-4b84-98af-12fe40dd17eb" ] ] "c_86257d75-cd07-4a99-ba77-0f8bb6e27000" => [ "group" => [ "conjunction" => "OR" "memberOf" => "c_f17dec0d-7275-4b84-98af-12fe40dd17eb" ] ] "c_a8e43698-60b1-445d-959a-aea50625f49b" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_86257d75-cd07-4a99-ba77-0f8bb6e27000" ] ] "c_511ec954-57fa-4cb5-a8a3-fea9708dd248" => [ "condition" => [ "path" => "authorizedProcedures.id" "operator" => "FALSE" "memberOf" => "c_86257d75-cd07-4a99-ba77-0f8bb6e27000" ] ] "c_3441efe4-f25d-4698-8224-72124d895781" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPHA" ] "memberOf" => "c_f17dec0d-7275-4b84-98af-12fe40dd17eb" ] ] "c_aef89c7c-05c6-44e2-87f4-615447cf61a6" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_f17dec0d-7275-4b84-98af-12fe40dd17eb" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_f17dec0d-7275-4b84-98af-12fe40dd17eb" "c_1ab57381-7e46-4b6b-b584-af5bcb2a9dac" "c_86257d75-cd07-4a99-ba77-0f8bb6e27000" "c_a8e43698-60b1-445d-959a-aea50625f49b" "c_511ec954-57fa-4cb5-a8a3-fea9708dd248" "c_3441efe4-f25d-4698-8224-72124d895781" "c_aef89c7c-05c6-44e2-87f4-615447cf61a6" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +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_40682b41-27ba-4552-b873-47c977bfb902" => [ "group" => [ "conjunction" => "AND" ] ] "c_8cafda1a-e2c4-4e97-918f-e04ea46f1719" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPPO" ] "memberOf" => "c_40682b41-27ba-4552-b873-47c977bfb902" ] ] "c_6df9874a-2679-4073-b2ff-fe127c5c833d" => [ "condition" => [ "path" => "orga.administratableProcedures.id" "operator" => "FALSE" "memberOf" => "c_40682b41-27ba-4552-b873-47c977bfb902" ] ] "c_a6f470a2-30f2-4303-b9d6-eaffb17aa2f5" => [ "condition" => [ "path" => "roleInCustomers.role.code" "operator" => "IN" "value" => [ "RMOPSA" "RMOPHA" ] "memberOf" => "c_40682b41-27ba-4552-b873-47c977bfb902" ] ] "c_242e9c56-0044-4a5a-8442-dcb866e30f0f" => [ "condition" => [ "path" => "roleInCustomers.customer.id" "operator" => "=" "memberOf" => "c_40682b41-27ba-4552-b873-47c977bfb902" "value" => "fe47e7f0-4cde-345d-b358-0d9d9b5cfc4c" ] ] ] "constraints" => [ Symfony\Component\Validator\Constraints\Type {#675 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\All {#674 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#680 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Count {#679 +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 {#678 +payload: null +groups: [ "Default" ] +fields: [ "condition" => Symfony\Component\Validator\Constraints\Required {#677 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#710 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#701 +payload: null +groups: [ "Default" ] +fields: [ "value" => Symfony\Component\Validator\Constraints\Required {#700 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\AtLeastOneOf {#709 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\IsNull {#708 +payload: null +groups: [ "Default" ] +message: "This value should be null." } Symfony\Component\Validator\Constraints\Type {#707 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Type {#706 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Type {#705 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "float" } Symfony\Component\Validator\Constraints\Type {#704 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "bool" } Symfony\Component\Validator\Constraints\Type {#703 +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 {#699 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#718 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#717 +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 {#716 +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 {#715 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#714 +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 {#698 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\NotBlank {#712 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: "trim" } Symfony\Component\Validator\Constraints\Regex {#711 +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 {#697 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Choice {#702 +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 {#696 +payload: null +groups: [ "Default" ] +fields: [ "path" => Symfony\Component\Validator\Constraints\Required {#695 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#713} Symfony\Component\Validator\Constraints\NotBlank {#712} Symfony\Component\Validator\Constraints\Regex {#711} ] } ] +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 {#676 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\Type {#686 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "array" } Symfony\Component\Validator\Constraints\Collection {#685 +payload: null +groups: [ "Default" ] +fields: [ "memberOf" => Symfony\Component\Validator\Constraints\Required {#684 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#691 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#690 +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 {#689 +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 {#688 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#687 +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 {#683 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Type {#693 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Choice {#692 +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 {#682 +payload: null +groups: [ "Default" ] +fields: [ "conjunction" => Symfony\Component\Validator\Constraints\Required {#681 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#694} Symfony\Component\Validator\Constraints\Type {#693} Symfony\Component\Validator\Constraints\Choice {#692} ] } ] +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_40682b41-27ba-4552-b873-47c977bfb902" "c_8cafda1a-e2c4-4e97-918f-e04ea46f1719" "c_6df9874a-2679-4073-b2ff-fe127c5c833d" "c_a6f470a2-30f2-4303-b9d6-eaffb17aa2f5" "c_242e9c56-0044-4a5a-8442-dcb866e30f0f" ] "constraints" => [ Symfony\Component\Validator\Constraints\All {#724 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#723 +payload: null +groups: [ "Default" ] +message: "This value should not be blank." +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Regex {#722 +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 {#721 +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 {#720 +payload: null +groups: [ "Default" ] +message: "This value should be of type {{ type }}." +type: "string" } Symfony\Component\Validator\Constraints\Regex {#719 +payload: null +groups: [ "Default" ] +message: "This value is not valid." +pattern: "/\A@root\z/" +htmlPattern: null +match: false +normalizer: null } ] } ] "groups" => null ]