-
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
[2.3] Database Media Storage - Design Config Save functions to be Database Media Storage aware #21675
[2.3] Database Media Storage - Design Config Save functions to be Database Media Storage aware #21675
Conversation
Hi @gwharton. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@aleron75 any update on this? |
Hi @gwharton could you resolve merge conflicts? |
OK, sometimes github does things that I really don't understand. So i used the github "Resolve conflict" feature to resolve the conflicts. This appeared to work ok, but if you look at the commit history, the resolve conflicts also merged all changes from 2.3-develop into my PR since the PR was created. This means the commit for this PR is now massive!!!! Arghh. Will I really be re-committing all of the changes made in the last month in 2.3-develop back in on itself????? I don't know what to do to get out of this. |
It means that, since you forked the repo, some changes were merged in the main branch and it's normal that your PR now includes those changes because your fork was not up to date anymore. |
Ok. Thats great. For one moment i thought my pr would be "recommitting" all those changes twice. The "files changed" section looks correct. |
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.
Please squash changes into a single commit so that we have perfectly clean history 😉
@orlangur, perhaps I am doing it wrong, I did try and squash them last night into a single commit, but my squashed commit ended up containing all of the changes from the merge of 2.3-develop back into my branch, which I am sure is not what is wanted. What is the correct way of doing it, when one of the commits, is a merge of 2.3-develop into my branch. On previous attempts I would have
|
@gwharton create a new branch from a fresh |
…renamed aswell as the local file in pub/media.
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 @gwharton , thanks for the pull request, please see my suggestion in the review comment
Increases backwards compatability.
Hi @sivaschenko, thank you for the review. |
Backport PR at #21676 has been updated inline with this parent PR, and is ready to go once this has been processed. |
Not sure whats going on with the travis build. Not sure its anything to do with me. Looks to be failing attempting to fork a process under php 7.2. I've tried rerunning the travis build twice and it fails with same error. Suspect out of memory during tests. |
✔️ QA Passed |
Hi @gwharton, thank you for your contribution! |
…ons to be Database Media Storage aware magento#21675
Description (*)
The functions that process the uploads of the Favicon, Header Image and Transactional Email Logo files do not process the file correctly when in Database Media Storage Mode. This PR fixes that.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Repeat for favicon and header logo, ensuring that after save, the file exists correctly in the database.
Contribution checklist (*)