-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Update expires_at column type from table admin_user_expiration in ord… #34462
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
Update expires_at column type from table admin_user_expiration in ord… #34462
Conversation
…er to properly save the expiration date
Hi @SinpietruAdrian. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review. For more details, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@SinpietruAdrian @hostep, |
@ihor-sviziev: yeah probably, I guess. But should it happen in scope of this PR? |
@hostep, as to me it looks like a quite simple fix. It's better to fix all places at once than fixing all places separately |
@ihor-sviziev: I've just briefly discussed this with Adrian (a colleague of mine) during our daily standup, and we decided that it is out of scope of this PR to change all the fields in the entire codebase, because there could be unwanted consequences due to how timezones are handled. In this particular case, the timezone is not that important. I've opened a new issue to investigate all other usages of those timestamp fields in the codebase: #34478 Is this ok for you guys? |
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.
Hi @SinpietruAdrian,
Could you sign the adobe CLA?
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Hi @SinpietruAdrian, thank you for your contribution! |
I've signed the CLA, closed/reopened the PR but it's still failing. Anything else I should do? |
Hi @SinpietruAdrian, |
@SinpietruAdrian Please sign CLA. We could not merge PR without that |
Hi @SinpietruAdrian , Thank you for your contribution! We are not able to proceed further on this PR as you have not signed the Adobe CLA yet. Hence closing this PR. Please reopen and update if you wish to continue. Thank you for your contribution! |
Looks like this got fixed by core devs in: 97f85b9 (which is included in Magento 2.4.5) |
Description
New admin account is disabled after a login attempt is made if the account's expiration date is greater than 2038. This is fixed by updating the expires_at column type from the admin_user_expiration table to datetime.
Fixed Issues
#34463
Manual testing scenarios
Create an admin user with an Expiration Date greater than 2038 and attempt a login to the admin area with this newly created user.