Skip to content

Add missing name attributes to catalog_product_view layout xml #8514

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

Merged

Conversation

andrewnoble
Copy link

@andrewnoble andrewnoble commented Feb 11, 2017

When extending catalog_product_view.xml in a theme, and leaving the product.info.options block intact, Magento throws an exception for each of the child blocks that are missing the name attribute.

main.CRITICAL: Magento\Framework\Exception\LocalizedException: The element 'product.info.options' already has a child with alias 'file' in /vendor/magento/framework/Data/Structure.php:611

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Feb 11, 2017

CLA assistant check
All committers have signed the CLA.

@okorshenko
Copy link
Contributor

@andrewnoble thank you for your contribution!

@matin73
Copy link

matin73 commented Sep 8, 2018

why is this error still in magento 2.2.5??

@CesarChris710
Copy link

Error in magento 2.2.6
main.CRITICAL: The element 'category.product.type.details.renderers' already has a child with alias 'configurable' {"exception":"[object] (Magento\Framework\Exception\LocalizedException(code: 0): The element 'category.product.type.details.renderers' already has a child with alias 'configurable' at /home/username/public_html/vendor/magento/framework/Data/Structure.php:611)"} []

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants