-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix #13920 changed behavior send from hour introduced in 5.1 #14089
base: 5.1
Are you sure you want to change the base?
Fix #13920 changed behavior send from hour introduced in 5.1 #14089
Conversation
Changes introduced in 5.1 (894929c) brakes the functionality of executing campaigns when set "Start from hour". This push request brings this back to previous behavior. When you set Start from specific hour was in 5.1: if it is earlier then it's planned for a specific hour and fired up correctly BUT when it is later then it's scheduled for the selected hour BUT for NEXT day. Now it works as before. When it is earlier than it's planned for a specific hour and fired up correctly AND when it is later, then it fires immediately.
I'm afraid this PR contains more changes than expected. Can you please update the PR so it contains on the the change you are proposing? |
Yes, now I can see that. This is my first pull request and I definitly made a mistake. My PR should modify only one file. Commit 51c71e2. I'll try to correct this. I'm open if you have suggestion how to do this. Next time will be better then ;-) EDIT: Ok, now It's ok I suppose. |
I'm not sure what you did. But the best way to create a PR is to:
Now that you are in this state, I'd recommend to:
But in order to accept these changes it will have to be covered by PHPUNIT tests. Ideally a functional test. |
Thank you for your specific instructions. In this commit, I only removed unnecessary code from one file which caused this problem. |
@rahuld-dev can you please look at this change as you are the original author (#13263)? Why was this code added? |
What if @rahuld-dev doesn`t response? Any chance to approve this PR? |
@magician7 Will check and update here...Thanks! |
Ehm.., ehm... little reminder here ;-) @rahuld-dev |
@rahuld-dev can we move with this task please? |
Any progres? |
Description
Changes introduced in 5.1 (magician7@894929c) brakes the functionality of executing campaigns when set "Start from hour".
This push request brings this back to previous behavior. When you set Start from specific hour was in 5.1:
if it is earlier then it's planned for a specific hour and fired up correctly BUT
when it is later then it's scheduled for the selected hour BUT for NEXT day.
Now it works as before.
When it is earlier than it's planned for a specific hour and fired up correctly AND
when it is later, then it fires immediately.