Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7032

[FormEditionPanel] Too deep search to find a field value in XML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.9
    • None
    • None
    • None

      To get the values of a metadata, the following dom search

      var nodes = Ext.dom.Query.select(metadataNode.tagName, metadataNode.parentNode);
      

      should be replace by

      var nodes = Ext.dom.Query.select('>' + metadataNode.tagName, metadataNode.parentNode);
      

      If not, if a sub-metadata (in composite, repeater) have the same name, the value of this sub-metadata will be retrieved here.

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: