-
-
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
Add orderBy to findOneBy to return more accurate eventLog result #11636
Conversation
Codecov Report
@@ Coverage Diff @@
## 4.4 #11636 +/- ##
============================================
+ Coverage 49.33% 49.97% +0.63%
- Complexity 35395 35408 +13
============================================
Files 2144 2144
Lines 105524 106299 +775
============================================
+ Hits 52056 53118 +1062
+ Misses 53468 53181 -287
|
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.
Make sense 👍
@pwned555 thank you. |
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.
@pwned555 please can you make a duplicate PR on the 5.x branch then this is good to be merged for the release. Thanks! |
Bumping this from the release until we have the 5.x PR to merge alongside. |
@escopecz this is ready now |
Description:
Fixes issue with wrong eventLog record being returned when trying to cancel if the user has multiple records with the same eventId.
Steps to test this PR:
Step 1: Create a Campaign that allows users to restart it
Step 2: In that Campaign create an event with a 1 hour delay that removes the user from the Campaign
Step 3: Have user go on Campaign and wait for the user to be removed and event to be fired
Step 4: Have user go on Campaign again, this time try to cancel the event before 1 hour. It should allow you to cancel the event.