<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Talend 5.6 bug for password field after clicking on JobScript in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-5-6-bug-for-password-field-after-clicking-on-JobScript/m-p/2395372#M8067</link>
    <description>Hi&amp;nbsp;mmoisen, 
&lt;BR /&gt; 
&lt;BR /&gt;Are you using Talend Enterprise Subscription Version? Have you reported a ticket on Talend Support Portal so that our colleagues from support team will check it to see if it is a bug. If it is a bug on Talend 5.6, they will create a jira issue for you and give you a patch to fix it through support cycle. 
&lt;BR /&gt; 
&lt;A href="http://support.talend.com/otrs/customer.pl" target="_blank" rel="nofollow noopener noreferrer"&gt;http://support.talend.com/otrs/customer.pl&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
    <pubDate>Wed, 15 Jul 2015 06:48:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-15T06:48:31Z</dc:date>
    <item>
      <title>Talend 5.6 bug for password field after clicking on JobScript</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-5-6-bug-for-password-field-after-clicking-on-JobScript/m-p/2395371#M8066</link>
      <description>This looks like a bug in Talend 5.6.
&lt;BR /&gt;I've seen it occur for both tSendMail and tOracleConnection, but I would expect it to also happen in any component that takes a password.
&lt;BR /&gt;Drag a tSendMail onto the screen, click Need Authentication, and set the password field, either to a string value or to a context variable.
&lt;BR /&gt;If it is a string value of "password", the following code is generated:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tSendMail_1 = routines.system.PasswordEncryptUtil&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; .decryptPassword("a54bbfcc1190b7e1f4f7aba1746784ea");&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;If it is a context variable of context.password with a value of "password", the following code is generated instead:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tSendMail_1 = context.password;&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;Everything is fine so far.
&lt;BR /&gt;Now click on the Jobscript tab, then click back onto the Code tab. 
&lt;B&gt;An error is revealed, as the decrypted password does not contain any quotation marks&lt;/B&gt; (note that if it doesn't work the first time, switch back to JobScript then to Code):
&lt;BR /&gt;For a password of string "password":
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tSendMail_1 = PoLvNyVG2XWndNDdLn696A==; &lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;For a context variable of context.password with a value of "password":
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tSendMail_1 = 8pW6Nmy2kuczSBOgoJ7Ub24fQgd+SRSj;&lt;BR /&gt;&lt;/PRE&gt;
&lt;BR /&gt;It is also interesting to note that both decryted passwords are not identical.
&lt;BR /&gt;
&lt;BR /&gt;The same problem occurs for tOracleConnection:
&lt;BR /&gt;Before clicking on JobScript, a string value of "password" is:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tOracleConnection_1 = routines.system.PasswordEncryptUtil&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; .decryptPassword("a54bbfcc1190b7e1f4f7aba1746784ea");&lt;/PRE&gt;
&lt;BR /&gt;After clicking on JobScript and then back to Code:
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tOracleConnection_1 = PoLvNyVG2XWndNDdLn696A==; &lt;/PRE&gt;
&lt;BR /&gt;Before clicking on Jobscript, a context variable of context.password with a value of password is:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tOracleConnection_1 = context.password;&lt;/PRE&gt;
&lt;BR /&gt;After clicking on Jobscript and back to code:
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tOracleConnection_1 = 8pW6Nmy2kuczSBOgoJ7Ub24fQgd+SRSj; &lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Here is the tSendMail in 
&lt;B&gt;Talend 5.5, which does not cause any error:&lt;/B&gt;
&lt;BR /&gt;Before clicking on JobScript, a string value of "password" is:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tSendMail_1 = routines.system.PasswordEncryptUtil&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; .decryptPassword("a54bbfcc1190b7e1f4f7aba1746784ea");&lt;/PRE&gt;
&lt;BR /&gt;After clicking on JobScript and back to Code:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tSendMail_1 = routines.system.PasswordEncryptUtil&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; .decryptPassword("a54bbfcc1190b7e1f4f7aba1746784ea");&lt;/PRE&gt;
&lt;BR /&gt;Before clicking on JobScript, a context variable of context.password with a value of password is:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tSendMail_1 = context.password;&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;After clicking on JobScript and back to Code:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;final String decryptedPassword_tSendMail_1 = context.password;&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;How can I prevent this from occurring?
&lt;BR /&gt;
&lt;BR /&gt;Thanks and best regards,
&lt;BR /&gt;
&lt;BR /&gt;Matthew Moisen</description>
      <pubDate>Tue, 14 Jul 2015 21:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-5-6-bug-for-password-field-after-clicking-on-JobScript/m-p/2395371#M8066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-14T21:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Talend 5.6 bug for password field after clicking on JobScript</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-5-6-bug-for-password-field-after-clicking-on-JobScript/m-p/2395372#M8067</link>
      <description>Hi&amp;nbsp;mmoisen, 
&lt;BR /&gt; 
&lt;BR /&gt;Are you using Talend Enterprise Subscription Version? Have you reported a ticket on Talend Support Portal so that our colleagues from support team will check it to see if it is a bug. If it is a bug on Talend 5.6, they will create a jira issue for you and give you a patch to fix it through support cycle. 
&lt;BR /&gt; 
&lt;A href="http://support.talend.com/otrs/customer.pl" target="_blank" rel="nofollow noopener noreferrer"&gt;http://support.talend.com/otrs/customer.pl&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 15 Jul 2015 06:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-5-6-bug-for-password-field-after-clicking-on-JobScript/m-p/2395372#M8067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-15T06:48:31Z</dc:date>
    </item>
  </channel>
</rss>

