Skip to content
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 broken commit in #15040 that accidentally reverted previous changes. #16594

Merged
merged 1 commit into from
Aug 1, 2018
Merged

Conversation

gwharton
Copy link
Contributor

@gwharton gwharton commented Jul 6, 2018

Description

Issue #15009/PR #15020 fixed issues with the gallery template.
PR#15040 accidentally reverted the fixes.
This PR reapplies them

Fixed Issues (if relevant)

  1. Product gallery caption issue #16580: Product gallery caption issue

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-engcom-team
Copy link
Contributor

Hi @gwharton. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me {$VERSION} instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

@gwharton
Copy link
Contributor Author

gwharton commented Jul 6, 2018

I have checked and this was only broken in 2.2-develop. The original fix that was reverted is still applied to 2.1-develop and 2.3-develop correctly so no backporting/forwardporting is required.

@gwharton
Copy link
Contributor Author

gwharton commented Jul 6, 2018

@magento-engcom-team give me test instance

@magento-engcom-team
Copy link
Contributor

Hi @gwharton. Thank you for your request. I'm working on Magento instance for you

@magento-engcom-team
Copy link
Contributor

Hi @gwharton, here is your new Magento instance.
Admin access: https://pr-16594.engcom.dev.magento.com/admin
Login: admin Password: 123123q
Please make sure you are PR author or assignee to access the instance.

@gwharton
Copy link
Contributor Author

gwharton commented Jul 6, 2018

I can confirm that I have checked the fix in the test instance. The image captions are not displayed under the image by default.

@miguelbalparda miguelbalparda self-assigned this Jul 6, 2018
Copy link
Contributor

@Karlasa Karlasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was wrong before because not defining options != false because fotorama fallback settings are not all "false" by default. Works well now, nice job!

@miguelbalparda
Copy link
Contributor

Right now we have 3 different solutions for this issue #16594 #15546 #16941. It seems we will be moving forward with #16594 but we'd like to have some more input if possible.

@Karlasa
Copy link
Contributor

Karlasa commented Jul 26, 2018

@miguelbalparda I think this PR can be merged to fix the main issue and after that move forward with other improvements if needed

@magento-engcom-team
Copy link
Contributor

Hi @miguelbalparda, thank you for the review.
ENGCOM-2555 has been created to process this Pull Request

@magento-engcom-team
Copy link
Contributor

Hi @gwharton. Thank you for your contribution.
We will aim to release these changes as part of 2.2.7.
Please check the release notes for final confirmation.

Please, consider to port this solution to 2.3 release line.
You may use Porting tool to port commits automatically.

@gwharton
Copy link
Contributor Author

gwharton commented Aug 1, 2018

Porting to 2.1 and 2.3 is not required. The fix has already been applied to both branches.

@gwharton gwharton deleted the 2.2-develop-16580 branch August 1, 2018 17:21
@hostep
Copy link
Contributor

hostep commented Aug 2, 2018

@magento-engcom-team : you say this PR will be part of Magento 2.2.7, but the PR is listed in the Magento 2.2.6 milestone: https://github.com/magento/magento2/milestone/20, so which one is the correct one?
Please try to stay consistent so people know what they can expect :)

Thanks!

@gwharton gwharton removed this from the Release: 2.2.6 milestone Aug 2, 2018
@tmotyl
Copy link
Contributor

tmotyl commented Sep 4, 2018

For some reason this commit is not visible in the file in the 2.2-develop branch.
https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Catalog/view/frontend/templates/product/view/gallery.phtml

@gwharton
Copy link
Contributor Author

gwharton commented Sep 4, 2018

Well, i have no idea why the changes have gone! I will create another pull request to fix this again.

@tmotyl
Copy link
Contributor

tmotyl commented Sep 4, 2018

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants