During the implementation of "
HPCC-18210 Extend ECL tool with zapgen command." I faced a problem which is not related to my implementation.
The problem is in the
there is a field:
which is intent to be a ZAP (zip) file password and it clashes with the user password. It seems it works in LDAP enabled and pre-authenticated environment like ECLWatch or via direct HTTP call with "Authorization" header, but it doesn't with
It returns with:
The password problem is not related to ZAP file generation. It is generic.
If "Password" field moved from WUCreateZAPInfoRequest into
then, the previously working 'ecl abort ...' returns with:
and zapgen is fine:
It seems during the esprequest creation for Abort (in ws_workuit.esp:68863) the 'userid_' variable is set by
function call to user name, but the 'password_' doesn't independently it has a correct value at
function call (in ws_workuit.esp:68864).
Both of them implemented in soapbind.hpp line 166 and 169. I put break point to each, but only the setUserId() gets a hit during the step-by-step trace for Abort and both of them get hit for other request, e.g. zapgen.