-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segment - Fix filter URL Visited with regex and more #11541
Conversation
002b04b
to
7f35ae7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a small request before we merge this PR. Also, please create a duplicate PR against the 5.x branch to confirm it will work there too and all conflicts will be solved. Thanks for the functional tests! It makes me a lot more confident that it works!
Codecov Report
@@ Coverage Diff @@
## 4.4 #11541 +/- ##
============================================
+ Coverage 49.54% 50.02% +0.47%
- Complexity 35405 35406 +1
============================================
Files 2144 2144
Lines 105542 105550 +8
============================================
+ Hits 52296 52806 +510
+ Misses 53246 52744 -502
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 👍
@Cr7t3K create please also PRs with these commits against the 5.x branch. It may need rebase or cherry-pick. See 5.x...Cr7t3K:fix-segment-filter-regex |
Aha, you already did. #11556 Thank you! |
* Fix import company error message without unique fields * Fix PHP stan * Change clean conditional values with InputHelper::clean * Fix unit test * Fix error with regex operator * Create functional test for filter with regex * Add test for segment filter with object behaviors * Change the regex of test suit for match with MariaDb 10.3 and MySQL 5.7 * Update SpoolTransport.php * Removing diff from interval and adding initially * Adding typehint to test * CS Fixer changes * Removing Adding interval to grouped contacts * CS fixes * Dynamic Content filters fixed * Dynamic Content filters fixed - return type of test methods specified * Company city filter test with lead and empty company * Removed unnecessary change in error reporting in test * Fix day graph range * Updating queries in the test for #11541 Co-authored-by: Zdeno Kuzmany <zdeno@kuzmany.biz> Co-authored-by: Zdeno Kuzmany <zku@webmecanik.com> Co-authored-by: Guillaume <cguillaumedu85@orange.fr> Co-authored-by: Tony Eckstrand <teckstrand@lawdepot.com> Co-authored-by: jazeabby <abhishek.jain@acquia.com> Co-authored-by: Anna Munk <anna.munk@comarch.pl>
* Fix import company error message without unique fields * Fix PHP stan * Change clean conditional values with InputHelper::clean * Fix unit test * Fix error with regex operator * Create functional test for filter with regex * Add test for segment filter with object behaviors * Change the regex of test suit for match with MariaDb 10.3 and MySQL 5.7 * Update SpoolTransport.php * Removing diff from interval and adding initially * Adding typehint to test * CS Fixer changes * Removing Adding interval to grouped contacts * CS fixes * Dynamic Content filters fixed * Dynamic Content filters fixed - return type of test methods specified * Company city filter test with lead and empty company * Removed unnecessary change in error reporting in test * Fix day graph range * Updating queries in the test for mautic/mautic#11541 Co-authored-by: Zdeno Kuzmany <zdeno@kuzmany.biz> Co-authored-by: Zdeno Kuzmany <zku@webmecanik.com> Co-authored-by: Guillaume <cguillaumedu85@orange.fr> Co-authored-by: Tony Eckstrand <teckstrand@lawdepot.com> Co-authored-by: jazeabby <abhishek.jain@acquia.com> Co-authored-by: Anna Munk <anna.munk@comarch.pl>
Description:
This PR fixes the problem with regex filters, like the visited url.
The filter did not take into account the regex, and display the same number of contacts no matter the regex.
Steps to test this PR:
PR funded by @PierreAmmeloot from WebAnyOne