-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix for scope bug in Catalog URL resource #38394
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
base: 2.4-develop
Are you sure you want to change the base?
Conversation
Hi @pmzandbergen. Thank you for your contribution! Add the comment under your pull request to deploy test or vanilla Magento instance:
❗ Automated tests can be triggered manually with an appropriate comment:
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
Hello @pmzandbergen |
Any update? :) |
@magento run all tests |
@magento run Functional Tests B2B, Static Tests |
We have created a Guild issue for this PR here: https://github.com/magento-commerce/quality-guild/issues/82 Hence moving this PR Thanks |
Unfortunately I don't have access to the Magento Commerce repository. I'll wait patiently. |
We have received go-ahead on this PR from the internal team, hence we are moving it to appropriate bucket. Thanks |
@magento run all tests |
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.
Hello @pmzandbergen,
Thanks for the collaboration!
The changes seems good to us, but I guess we can add an automated test for this fix in accordance to the DOD.
So please do the needful.
Thanks
@magento run all tests |
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.
Hello @pmzandbergen,
We are still having a static test failure related to copyright. Please use copyright as below.
Thanks
dev/tests/integration/testsuite/Magento/Catalog/Model/ResourceModel/UrlTest.php
Outdated
Show resolved
Hide resolved
…Model/UrlTest.php Co-authored-by: Abhinav Pathak <[email protected]>
@magento run all tests |
@magento run all tests |
@pmzandbergen Thank you for contribution & collaboration! ✔️ QA PassedPreconditions: Steps to reproduce:
![]() Before: ❌The returned data object of categories was not having "is_active" key in the category (ID 560) disabled at default scope because the following condition was invalid and it was not falling back to the default scope. ![]() After: ✔️On PR branch it fallbacks to the default scope and "is_active" key gets added on the category disabled at default scope.![]() Also verified the SQL Query in order to validate the changes Builds are failed hence moving this PR in Extended Testing |
@magento run Functional Tests B2B, Functional Tests CE |
One of the consistent Functional B2B test failure is a known issue and JIRA is present for the same. Other test failures are inconsistent and seems to be flaky. They are not related to this PR nor part of PR. Hence moving this PR in Merge In Progress. Known Issue: AdminDeleteCatalogPriceRuleEntityFromConfigurableProductTest ACQE-7945 |
Description (*)
Fallback to default scope for the
is_active
category attribute is not working as expected on Url Resource Model. This commit adds a fallback to default scope if there is no value defined on the store scope.Fixed Issues (if relevant)
Manual testing scenarios (*)
\Magento\Catalog\ResourceModel\Url::getCategories(..)
is_active
on the returned data objectsContribution checklist (*)