You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.
If you have self closing xml tags like in the local.xml, EnvSettingsTool will convert the tag on saving to which breaks Magento in some cases. The conversion happens also if you're no changing the tag itself, but something else in the file.
Unfortunatelly removing the LIBXML_NOEMPTYTAG setting will cause all empty nodes to be saved as self-closing.
e.g. <password><![CDATA[]]></password>
will be saved as <password/>
However if we want to keep tag with empty value, we can use cdata:
<password><![CDATA[]]></password>
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you have self closing xml tags like in the local.xml, EnvSettingsTool will convert the tag on saving to which breaks Magento in some cases. The conversion happens also if you're no changing the tag itself, but something else in the file.
Because of that you can not place
because it will be converted to
on save. And Magento can not handle it.
The problem is caused by setting LIBXML_NOEMPTYTAG on saving the xml.
see
https://github.com/AOEpeople/EnvSettingsTool/blob/master/Est/Handler/XmlFile.php#L77
Unfortunatelly removing the LIBXML_NOEMPTYTAG setting will cause all empty nodes to be saved as self-closing.
e.g.
<password><![CDATA[]]></password>
will be saved as
<password/>
However if we want to keep tag with empty value, we can use cdata:
The text was updated successfully, but these errors were encountered: