-
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
Fix #29879 Breadcrump Undefined class constant 'XML_PATH_CATEGORY_URL_SUFFIX' #29925
Fix #29879 Breadcrump Undefined class constant 'XML_PATH_CATEGORY_URL_SUFFIX' #29925
Conversation
…ORY_URL_SUFFIX' When creating a plugin, that is calling the public functions for the product breadcrump they ending up throwing an error message, because this constants has been marked as private recently. This is fixing it with referencing to the current instance and all is working again. This fix is analog to another bug of the same type: magento#28981 magento#28797 This should resolve: magento#29879
Hi @toxix. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento run all tests |
Hi @toxix , |
From fire look - looks good, but there were some failing tests, I just restarted them to make sure these failures not related |
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.
✔ Approved.
Failing tests looks not related to changes form this PR.
Hi @ihor-sviziev, thank you for the review. |
I have got same issue in 2.4.0 when view product details page |
Hey @ihor-sviziev , Sry not really familiar with the testing framework and busy with daily work. Feel free to add Test yourself, as tests are good thing. |
Note: Functional Tests B2B are failed |
…_CATEGORY_URL_SUFFIX' #29925
Hi @toxix, thank you for your contribution! |
@ihor-sviziev thanks for taking care of the failing tests and pushing this pr forward. <3 What I don't get, is why this is not included in magento 4.2.1 release? There is still some time and it is reasonable marked as S2/P2. I was also wondering this with several other patches, that has been merged to dev branch. Still I needed to apply them manually. |
@sidolov is it possible to add this fix to 2.4.1? |
@ihor-sviziev unfortunately, the scope of 2.4.1 is defined and only release blockers can be delivered. This fix will be available in 2.4.2 |
When creating a plugin, that is calling the public functions for the
product breadcrump they ending up throwing an error message, because
this constants has been marked as private recently.
This is fixing it with referencing to the current instance and all is
working again. This fix is analog to another bug of the same type:
#28981
#28797
This should resolve:
Resolves #29879