getAttributeRawValue() to retrieve it, ie $product->getResource()->getAttributeRawValue($product->getId(), 'attribute_code', $this->_storeManager->getStore()->getId());
Hi @VincentMarmiesse. Thank you for your report.
To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento-engcom-team give me {$VERSION} instance
where {$VERSION} is version tags (starting from 2.2.0+) or develop branches (2.2-develop +).
For more details, please, review the Magento Contributor Assistant documentation.
@VincentMarmiesse do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
@magento-engcom-team give me 2.2.4 instance
Hi @VincentMarmiesse. Thank you for your request. I'm working on Magento 2.2.4 instance for you
Hi @VincentMarmiesse, here is your Magento instance.
Admin access: https://i-16382-2-2-4.engcom.dev.magento.com/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.
I can't confirm with this instance because I have to write some code and call the function getAttributeRawValue.
Can I do it with your instance?
@VincentMarmiesse is it a duplicate of https://github.com/magento/magento2/issues/15205 maybe? Please check if corresponding PR worked for you.
@orlangur no it's not. It's not related to the session or translation, the SQL request done by getAttributeRawValue is assuming there is a value for the store 0, but it's not always the case.
Hello @VincentMarmiesse, thank you for your report.
We've acknowledged the issue and added to our backlog.
Hi @shikhamis11. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if your want to validate it one more time, please, go though the following instruction:
Component: XXXXX label(s) to the ticket, indicating the components it may be related to.[ ] 2. Verify that the issue is reproducible on 2.3-develop branchDetails
- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!
[ ] 3. Verify that the issue is reproducible on 2.2-develop branch. Details
- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x
[ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.
@magento-engcom-team give me 2.2.4 instance
Hi @funnyboy1190. Thank you for your request. I'm working on Magento 2.2.4 instance for you
Hi @funnyboy1190, here is your Magento instance.
Admin access: https://i-16382-2-2-4.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.
Hi @semajeg. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
Component: XXXXX label(s) to the ticket, indicating the components it may be related to.[x] 2. Verify that the issue is reproducible on 2.3-develop branchDetails
- Add the comment @magento give me 2.3-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!
[ ] 3. Verify that the issue is reproducible on 2.2-develop branch. Details
- Add the comment @magento give me 2.2-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x
[ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.
Hi @VincentMarmiesse. Thank you for your report.
The issue has been fixed in magento/magento2#23369 by @semajeg in 2.3-develop branch
Related commit(s):
The fix will be available with the upcoming 2.3.4 release.
Most helpful comment
@orlangur no it's not. It's not related to the session or translation, the SQL request done by
getAttributeRawValueis assuming there is a value for the store 0, but it's not always the case.