platform
platform copied to clipboard
Disable the validation of segment filter form
Hi team,
All oro filters (like datetime, string and other) uses symfony forms for transforming filter data from user input input data. All default entity validator will be trigger, if filter form data contains the entity. Oro segments are also was implemented via a filter model. So when we use segments, all validators for segment entity will be trigger again and again.
https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/SegmentBundle/Resources/config/validation.yml#L1-L8
It leads to duplicate sql queries and performance degradation
Fixed https://github.com/oroinc/platform/issues/925
Hi Uladzimir,
Thank you for the interesting idea, we'll investigate this. Internal ticket id #BAP-19338