Skip to content

Add missing name attributes to catalog_product_view layout xml#8514

Merged
mmansoor-magento merged 1 commit intomagento:developfrom
andrewnoble:catalog-layout-missing-names
Feb 19, 2017
Merged

Add missing name attributes to catalog_product_view layout xml#8514
mmansoor-magento merged 1 commit intomagento:developfrom
andrewnoble:catalog-layout-missing-names

Conversation

@andrewnoble
Copy link
Copy Markdown

@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
Copy Markdown
Contributor

magento-cicd2 commented Feb 11, 2017

CLA assistant check
All committers have signed the CLA.

@okorshenko
Copy link
Copy Markdown
Contributor

@andrewnoble thank you for your contribution!

@matin73
Copy link
Copy Markdown

matin73 commented Sep 8, 2018

why is this error still in magento 2.2.5??

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.

6 participants