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

Move breadcrumb json configuration to viewmodel #15521

Merged
merged 3 commits into from
Jun 22, 2018
Merged

Move breadcrumb json configuration to viewmodel #15521

merged 3 commits into from
Jun 22, 2018

Conversation

diedburn
Copy link
Contributor

@diedburn diedburn commented May 25, 2018

Description

Move breadcrumb json configuration to viewmodel and serialize it using Magento json serializer
Tweak code motivated by discussion in pull request #15162

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-cicd2
Copy link
Contributor

magento-cicd2 commented May 25, 2018

CLA assistant check
All committers have signed the CLA.

@diedburn
Copy link
Contributor Author

I signed the license agreement.

@magento-engcom-team
Copy link
Contributor

@diedburn thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

) {
parent::__construct();

$this->catalogData = $catalogData;
$this->scopeConfig = $scopeConfig;
$this->json = $json;
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi, @diedburn, due to Magento backward-compatible guide we can't add the required dependency to the constructor method.
thanks

@VladimirZaets
Copy link
Contributor

Hi @vgelani, please, sign CLA, otherwise, we can't process your pull request

@gelanivishal
Copy link
Contributor

@VladimirZaets I have signed.

@dmanners
Copy link
Contributor

dmanners commented Jun 5, 2018

Hi @diedburn it still says that you have not signed the CLA, could you please check this for us so we can continue with this PR. Often this can happen if the github user and committed user have a different email address.

@diedburn
Copy link
Contributor Author

diedburn commented Jun 7, 2018

@dmanners
I got it working by changing my primary email, then signing the CLA.

@VladimirZaets
Copy link
Contributor

@magento-engcom-team give me test instance

@magento-engcom-team
Copy link
Contributor

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

@magento-engcom-team
Copy link
Contributor

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

@magento-engcom-team
Copy link
Contributor

Hi @diedburn. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.2.6 release.

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

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.

7 participants