platform icon indicating copy to clipboard operation
platform copied to clipboard

Disable the validation of segment filter form

Open vtsykun opened this issue 4 years ago • 1 comments

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 Selection_999(604)

Fixed https://github.com/oroinc/platform/issues/925

vtsykun avatar Oct 21 '19 21:10 vtsykun

Hi Uladzimir,

Thank you for the interesting idea, we'll investigate this. Internal ticket id #BAP-19338

anyt avatar Oct 22 '19 10:10 anyt