-
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
fixed issue of Backup tool not correctly detecting .maintenance.flag #19993
fixed issue of Backup tool not correctly detecting .maintenance.flag #19993
Conversation
Hi @hiren0241. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @sidolov , |
@hiren0241 what do you mean? You can see failed unit tests here: https://travis-ci.org/magento/magento2/jobs/472906682 |
Hi @orlangur, Thanks for your response. I did analysis on error but I didn't change anything in unit testing or for that particular stuff but still it's showing CI fails. SO, I am confused which thing preventing the build. One more thing, In travis job log it's suggest below listed things:
But, this is default magento stuff. What's wrong with it that I can't understand. So, I am asking for help. Please share your valuable knowledge on this so that I can resolve this issue. Thanks in advance. |
@hiren0241 you changed code covered by this test, it means that either changes (if they do not work for all cases) or the test should be adjusted so that they match each other again. |
Thanks @orlangur, I understand. Will you please review my changes so that I can get assurance that my changes fix the issue but now I have to look into unit testing stuff. Is it possible for you to review it or I have to fix travis stuff first? Please do the needful. |
@hiren0241 thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
@magento-engcom-team Is My PR accepted? or should I have to update test code by myself? |
@hiren0241 you need to adjust the failed unit test to your changes. Please let me know if you need any assistance on fixing unit tests. Feel free to reach me i.e. in magentocommeng slack. |
Discussed the test fail with @hiren0241 and decided to try to rework the fix shifting attention towards |
Hi @hiren0241 , please, take a look at failed tests |
I noticed you all are working on backup tool. Is it not really deprecated? If not, any idea why docs are saying it is?
|
Closing this pull request due to inactivity, feel free to reopen if you'd like to continue progress |
Hi @hiren0241, thank you for your contribution! |
@sivaschenko Hi, |
} | ||
$this->maintenanceMode->set(true); | ||
} else { | ||
$response->setError( |
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.
Displaying insufficient permissions error in case maintenance_mode
parameter is false is logically incorrect
Hi @stoleksiy , If you want this changes for rollback as well, than I will apply same logic over there. Please guide me for the same. Thanks in advance. |
@hiren0241 Thanks for the answer! Could you please make these changes in scope of this PR? |
@stoleksiy , Sure, I Will do the same. Will update you in sometime after commit the changes. |
@hiren0241 Thanks! |
@stoleksiy, Please re-test it now. Thanks. |
@magento-engcom-team give me test instance |
Hi @hiren0241. Thank you for your request. I'm working on Magento instance for you |
Hi @sivaschenko, thank you for the review. |
Hi @hiren0241, here is your new Magento instance. |
✔️ QA Passed |
Hi @hiren0241, thank you for your contribution! |
Fixed issue of Backup tool not correctly detecting .maintenance.flag
Description (*)
This PR fix the issue of backup tool not correct detecting .maintenance.flag issue in Magento 2.3.0.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Case 1:
Case 2:
Contribution checklist (*)