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

[Forwardport] Added 'title' attribute to 'img' tag in knockout template files. #16769

Conversation

sanganinamrata
Copy link
Member

Original Pull Request

#16691

Description

Added title attribute to img tag in knockout template files.

Fixed Issues (if relevant)

N/A

Manual testing scenarios

N/A

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 @sanganinamrata. 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

@ihor-sviziev ihor-sviziev self-assigned this Jul 13, 2018
@ihor-sviziev
Copy link
Contributor

Hi @sanganinamrata,
What is the benefit of adding title to the img tag? What the issue do you have?

@slopukhov slopukhov requested review from sidolov and removed request for slopukhov July 13, 2018 11:06
@ihor-sviziev ihor-sviziev removed the request for review from sidolov July 16, 2018 15:14
@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, thank you for the review.
ENGCOM-2434 has been created to process this Pull Request

@magento-engcom-team
Copy link
Contributor

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

@joni-jones
Copy link
Contributor

joni-jones commented Jul 21, 2018

@magento-engcom-team, these changes break Braintree PayPal integration on the checkout.
{src: getPaymentAcceptanceMarkSrc(), alt: $t('Acceptance Mark')}, title: $t('Acceptance Mark')} is incorrect and breaks knockout parsing, the title attribute should be inside {}.

@DanielRuf
Copy link
Contributor

Exactly, it was forgotten to remove one }.

Shall I create another PR for all 3 branches?

@ihor-sviziev
Copy link
Contributor

@DanielRuf sure, please create PRs for it.

@joni-jones
Copy link
Contributor

@bnugent, you don't need to provide the fix for 2.2-develop branch. I fixed it during fixing another bug.

@DanielRuf
Copy link
Contributor

@joni-jones can you link the PR and create forward and backward PRs using the PR tool of the Magento engineering team?

@joni-jones
Copy link
Contributor

joni-jones commented Jul 21, 2018

We will deliver the fix via in the internal PR, before merging to 2.2-develop the internal PRs can't be forward ported.

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.

5 participants