-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 for issue #21477 sets CURRENT_TIMESTAMP on updated_at fields #21486
Fix for issue #21477 sets CURRENT_TIMESTAMP on updated_at fields #21486
Conversation
…lds in the DB Schema.
Hi @dverkade. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@magento-engcom-team give me test instance |
Hi @okorshenko. Thank you for your request. I'm working on Magento instance for you |
Hi @okorshenko, here is your new Magento instance. |
Hi @miguelbalparda, thank you for the review. |
✔️ QA Passed |
@@ -107,7 +107,7 @@ | |||
comment="Oauth consumer"/> | |||
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP" | |||
comment="Creation Time"/> | |||
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0" | |||
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP" |
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.
Unfortunately, we are not allowed to change column default value according to our Backward compatible development guide
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.
@sidolov how do you expect me to fix this issue? So there is a real issue with these fields, but due to self proclaimed backwards compatibility this can't be fixed.
Then we could just remove these fields as well, because they are never going to work anyway if this fix can't be accepted.
And since there is no 2.4 develop branch yet, I can't do a pull request against that branch as well. A 2.4 develop branch should have been made available right after the release of 2.3 so that new backwards incompatible changes can be done against that branch.
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.
This is being reviewed internally now, thanks for your help @dverkade!
Hi @dverkade , @miguelbalparda recently we discussed such case with our architect and decided to accept current PR as reasonable. We need additionally verify a few cases to make sure that the solution works properly. Notes for QA
|
Hi @sidolov, thank you for the review. |
Thanks for accepting this PR! |
✔️ QA Passed |
Hi @dverkade, thank you for your contribution! |
Description
Fix for issue #21477 sets CURRENT_TIMESTAMP on updated_at fields in the DB Schema.
Fixed Issues (if relevant)
Manual testing scenarios
Check database after creating a quote and placing an item in the quote that updated at field is filled correctly.