Null value when sending value for context variable with Password type using Talend Cloud API
Hello,
We are executing some job deployed on a remote engine in TMC using Talend Cloud API.
Some values of context variables are sent in the payload for the execution. Example :
{
"executable": "<executableId>",
"logLevel": "WARN",
"parameters": {
"Password":"password",
"MaValeur1":"val1",
"MaValeur2":"val2",
"MonInt1":3,
"token":"token",
"pwd":"password"
}
}
Values for password context variable are sometimes recevied with null value by the task. We have done many tests and we have seen :
if there is more than 9 variables (including Passwords one) declared in job context : password received are null. If there is 9 variables or less, it works, values are received.
In all cases, If we deploy a first version of the flow in Talend TMC without any password context variable and then we deploy a second version that add only Password context variable : it works. But if the second version of the task is promoted in another environment, in this environment null value will be received by these context variables.
If we replace Password type by String type, it works (but we can't imagine that solution).