瀏覽代碼

HPCC-23514 Fix problems in new config code with legacy Roxie topology

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 5 年之前
父節點
當前提交
3d6e90b303
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      system/jlib/jptree.cpp

+ 3 - 0
system/jlib/jptree.cpp

@@ -7688,6 +7688,9 @@ void mergeConfiguration(IPropertyTree & target, IPropertyTree & source)
         IPropertyTree & child = iter->query();
         const char * tag = child.queryName();
         const char * name = child.queryProp("@name");
+        //Legacy support for old roxie configuration files that have repeated elements with no name tag
+        if (!name)
+            name = child.queryProp("@netAddress");
         const char * path = tag;
         if (name)
         {