-
Notifications
You must be signed in to change notification settings - Fork 23
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
referenceBlock with group-attribute not allowed #2
Comments
found one more:
|
by the way - the first two can be fixed by replacing them with this:
|
Any update on this issue? |
Thanks for your report, we are working on this issue and will provide a fix for it. |
Exceptions reported on Jul 17th fixed with bbec940 |
Hello @m-schreiber, please be informed that the issue related to |
Hello, Im getting the same error. Some help would be appreciated. |
Hello @viliusramulionis, as we outlined in the magento/magento2#24656 it is an issue with the XML validator itself. Until it is fixed, the temporary solution is to switch from |
Same issue here in developer mode. |
Still exists on Magento 2.4.2 |
Still exists on Magento 2.4.2-p1 |
@tim-breitenstein-it according to the aforementioned ticket, it will be fixed in Magento |
Magento |
Until this is actually fixed in Magento itself, you can do the following:
[1] --- a/vendor/magento/framework/View/Layout/etc/elements.xsd
+++ b/vendor/magento/framework/View/Layout/etc/elements.xsd
@@ -328,6 +328,7 @@
<xs:attribute type="elementNameType" name="name" use="required"/>
<xs:attribute type="xs:string" name="template" use="optional"/>
<xs:attribute type="xs:string" name="class" use="optional"/>
+ <xs:attribute type="xs:string" name="group" use="optional"/>
<xs:attribute type="xs:boolean" name="display" default="true" use="optional"/>
<xs:attribute type="xs:boolean" name="remove" use="optional"/>
</xs:complexType> [2] "extra": {
"patches": {
"magento/framework": {
"Allow group attribute for referenceBlock": "patches/allow-group-attribute-for-referenceblock.patch"
}
}
} |
On loading a Product-View the following exception occurs:
The reason is the use of the
group
-Attribute onreferenceBlock
-Tags inside Layout-XML:theme-creativeshop/src/Magento_Catalog/layout/catalog_product_view.xml
Line 247 in c3a8c79
theme-creativeshop/src/Magento_Catalog/layout/catalog_product_view.xml
Line 255 in c3a8c79
theme-creativeshop/src/Magento_Catalog/layout/catalog_product_view.xml
Line 283 in c3a8c79
theme-creativeshop/src/Magento_Catalog/layout/catalog_product_view.xml
Line 295 in c3a8c79
The text was updated successfully, but these errors were encountered: