Skip to content

[Children Ids] #184 - Create a cache to store children ids #23910

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

Conversation

PierreLeMaguer
Copy link
Contributor

@PierreLeMaguer PierreLeMaguer commented Jul 26, 2019

Fixed Issues (if relevant)

magento/community-features#183: Improve the performance of the method app/code/Magento/Eav/Model/Config.php::getAttribute

Questions or comments

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 are green)

@m2-assistant
Copy link

m2-assistant bot commented Jul 26, 2019

Hi @PierreLeMaguer. 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 give me test instance - deploy test instance based on PR changes
  • @magento give me 2.3-develop instance - deploy vanilla Magento instance

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

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Jul 26, 2019

CLA assistant check
All committers have signed the CLA.

/**
* @var array
*/
protected $_cacheChildrenIds = [];
Copy link
Contributor

Choose a reason for hiding this comment

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

All new property must be private

@kandy
Copy link
Contributor

kandy commented Jul 26, 2019

PR is adding cache, but missed the cache cleanup that will cause issue

@romainruaud romainruaud added the Partner: Smile Pull Request is created by partner Smile label Jul 29, 2019
@sidolov
Copy link
Contributor

sidolov commented Aug 14, 2019

@PierreLeMaguer , I am closing this PR now due to inactivity.
Please reopen and update if you wish to continue.
Thank you for the collaboration!

@sidolov sidolov closed this Aug 14, 2019
@m2-assistant
Copy link

m2-assistant bot commented Aug 14, 2019

Hi @PierreLeMaguer, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@romainruaud romainruaud reopened this Sep 4, 2019
@m2-assistant
Copy link

m2-assistant bot commented Sep 4, 2019

Hi @PierreLeMaguer. 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 give me test instance - deploy test instance based on PR changes
  • @magento give me 2.3-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Guide documentation.

@romainruaud
Copy link
Contributor

I'm reopening this PR (sorry if I'm exceeding my rights on this repository).

@sidolov @kandy can you give us clear directives about what needs to be changed / remain to be done ?

regards

Copy link
Contributor

@sidolov sidolov left a comment

Choose a reason for hiding this comment

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

@romainruaud , please, make protected $_cacheChildrenIds = []; as private, try to avoid underscores in property name. That's it

@ghost ghost assigned sidolov Sep 4, 2019
@PierreLeMaguer
Copy link
Contributor Author

Hi @sidolov , the protected property is needed to use it in all child classes.

@sidolov
Copy link
Contributor

sidolov commented Sep 9, 2019

@PierreLeMaguer , please, define private property in the each product type class instead of protected. Also, please, sign CLA, otherwise we cannot proceed with the pull request. Thank you.

@romainruaud romainruaud added the partners-contribution Pull Request is created by Magento Partner label Sep 11, 2019
@PierreLeMaguer
Copy link
Contributor Author

Hi @sidolov , I changed the property for a private property.
Can you give us the next steps ?
Thanks

@sidolov
Copy link
Contributor

sidolov commented Sep 14, 2019

@PierreLeMaguer please, take a look at failed tests, looks like the solution caused the behavior change

@sidolov
Copy link
Contributor

sidolov commented Oct 4, 2019

@PierreLeMaguer I am closing this PR now due to inactivity.
Please reopen and update if you wish to continue.
Thank you for the collaboration!

@sidolov sidolov closed this Oct 4, 2019
@m2-assistant
Copy link

m2-assistant bot commented Oct 4, 2019

Hi @PierreLeMaguer, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

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