-
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
Fixed category names in product edit for multi language stores. #22156
Fixed category names in product edit for multi language stores. #22156
Conversation
Hi @ekalinak. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Erik Kalinak seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Categories.php
Show resolved
Hide resolved
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.
After changes are applied and all builds are green, please squash them into a single commit so that we have perfectly clean history 😉
98c6bc2
to
2778acb
Compare
Everything done but tests weren't successful. I can't see what can be possibly wrong. @orlangur : Can you ? |
@ekalinak, error is pretty straightforward
|
As I can see, it has no sense to continue here
@orlangur : I think you can close this pull request. ( It looks like whole time spend on creating issue and pull request worth for nothing .. :/ ) |
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.
@ekalinak your fix is much simpler than the one currently merged.
Please resolve conflicts and replace those changes with your ones, also, restoring a corresponding unit test.
Your PR now becomes not a bugfix but refactoring but it's still pretty cool.
…category tree caching and replaced with simpler one.
@orlangur : Everything seems to be OK, right ? |
@engcom-dev-Foxtrot go over https://github.com/magento/magento2/pulls?q=is%3Aopen+is%3Apr+no%3Aassignee maybe? ;) @ekalinak will check shortly. |
@magento run all tests |
1 similar comment
@magento run all tests |
@magento-admin @ekalinak hi there, i have been reviewing this thread here: #22155 and was curious if #22156 is the correct fix for issue 22155? please confirm. |
Hi @kmvickers628 . I've created issue #22155 and also fix for it in this pull request. I've also applied this fix on one of installations I'm working on, and it's working. Can you please explain, where is the problem exactly ? |
@ekalinak , alexblueacorn provided a question above. |
@alexblueacorn : I don't know from where you have the screen, but from my point of view it is a mistake. This PR is fixing category names in product edit for multi language stores. |
From this page. Looks like they included wrong PR. So I'm trying find right one for reindexing issue. |
@ekalinak are you able to help Alex find the correct PR? thanks! |
@kmvickers628 : All I know that issue #22155 is fixed by this pull reqeust. I have no idea which PR is fixing indexing problem :/ How should I even find out ? By studying code from pull requests ? |
@alexblueacorn That is typo on https://devdocs.magento.com/guides/v2.3/release-notes/release-notes-2-3-3-commerce.html |
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 @ekalinak,
Looks like method getCategoriesTree
was split to few smaller methods in 2.4-develop
branch, while your PR currently reverting it, that looks incorrect. Could you sign Adobe CLA and update your PR to not combining all changes back into single method?
@ihor-sviziev : Omg, this is already one year old PR. Originally I submitted code to |
Hi @ekalinak, thank you for your contribution! |
@ekalinak |
This pull request fixes problem reported in #22155
Description
In Multi store configuration, category names for different scopes are cached incorrectly on product edit form
Fixed Issues
Manual testing scenarios (*)
Category attribute displays correct category names for particular Store View