-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Customer attribute frontend labels not using the store label values on the frontend #27064
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
Customer attribute frontend labels not using the store label values on the frontend #27064
Conversation
Hi @nntoan. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@krishprakash unfortunately, only members of the maintainers team are allowed to assign developers to the pull request |
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 @nntoan!
Thank you for your pull request!
It looks nice!
Could you please integration or functional test to cover your changes?
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 @nntoan !
Thank you for your update.
It seems that test is failed :(
Maybe we can try directly call \Magento\Customer\Block\DataProviders\AddressAttributeData for a frontend label and check the output?
Any idea of how the integration test should be fixed? I have no idea why the attribute unable to save the label actually |
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 @nntoan,
Please check my comment.
dev/tests/integration/testsuite/Magento/Customer/Block/Form/RegisterTest.php
Outdated
Show resolved
Hide resolved
@magento run all tests |
Failed MFTF tests (Functional Tests EE, Functional Tests B2B), failed Static test - |
@magento run all tests |
…abel values on the frontend #27064
Hi @nntoan, thank you for your contribution! |
@magento give me 2.3-develop instance |
Hi @nntoan. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Description (*)
From this 3a6b77f, customer attributes on the frontend now able to retrieve frontend labels instead of hard-coding like previous versions. But it should fallback to store labels if there's value set.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)