Tony Homer created CB-9145:
------------------------------

             Summary: prepare can lose data during config munge
                 Key: CB-9145
                 URL: https://issues.apache.org/jira/browse/CB-9145
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
    Affects Versions: Master
            Reporter: Tony Homer


If a node is added to config.xml with same name and matching attributes as an 
existing node, but it is missing attributes, it is treated as an exact match 
during config munge and is not added to platform config.xml.  For example, when 
the following tags are present in www/config.xml, then second tag will not be 
added to platforms/android/res/xml/config.xml:
{code}
<access origin="*" launch-external="yes"/>
<access origin="*" />
{code}

AFAIK, this is most important for access tags, but will affect any tag where it 
is possible for one tag to be a subset of another tag.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to