Skip to content

Conversation

vtsykun
Copy link
Contributor

@vtsykun vtsykun commented Oct 21, 2019

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 #925

@anyt
Copy link
Contributor

anyt commented Oct 22, 2019

Hi Uladzimir,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Querybuilder / Segment SQL Optimisation
3 participants