Pārlūkot izejas kodu

Merge pull request #7495 from afishbeck/wseclPasswordField

HPCC-13820 Fix WsEcl form ignoring password format option

Reviewed By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 10 gadi atpakaļ
vecāks
revīzija
b5f57fd959
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      esp/services/ws_ecl/ws_ecl_service.cpp

+ 1 - 1
esp/services/ws_ecl/ws_ecl_service.cpp

@@ -1157,7 +1157,7 @@ void CWsEclBinding::SOAPSectionToXsd(WsEclWuInfo &wuinfo, IPropertyTree *parmTre
             }
 
             schema.appendf("<xsd:element minOccurs=\"0\" maxOccurs=\"1\" name=\"%s\" type=\"%s\"", name, type.str());
-            if (part.hasProp("@width") || part.hasProp("@height"))
+            if (part.hasProp("@width") || part.hasProp("@height") || part.hasProp("@password"))
             {
                 schema.append("><xsd:annotation><xsd:appinfo><form");
                 unsigned rows = part.getPropInt("@height");