<?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 Talend ESB 7.1.1 : Important bug, test returns false instead of true in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-ESB-7-1-1-Important-bug-test-returns-false-instead-of/m-p/2333723#M102479</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Following a previous topic I've made here (&lt;A href="https://community.qlik.com/s/feed/0D73p000004kW0NCAU#M87019" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Conditional-component-simple-if-true-commit-else-die/m-p/140810#M87019&lt;/A&gt;), I've decided to open a new one&amp;nbsp;specially dedicated to this bug I've just isolated a bit more now.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I encountered this bug two times in two days that's why I would like it to be identified or maybe patched if this is really a talend issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I simplified my flow like this now :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flux.png" style="width: 516px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M11c.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138885iB68EB819B9325756/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M11c.png" alt="0683p000009M11c.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;That flow has only one goal : count the number of rows returned by a join between two tables (located in two different db's)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Then the result is compared to an other value which should be provided by a parent job (using context value). In this exemple, I've only ran the child job so I defined the value right inside the context like this :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="context value.png" style="width: 713px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M11h.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153427i8F0572082204CE26/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M11h.png" alt="0683p000009M11h.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Below, I printed both values and then compared them.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tjavarow1.png" style="width: 903px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M11r.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157767iA9B698E0FDFB12C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M11r.png" alt="0683p000009M11r.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Finally, here is the result i get after running my job :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="result.png" style="width: 589px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M121.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154730iBA2CDE0C285EFA01/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M121.png" alt="0683p000009M121.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Good luck &amp;amp; Have fun &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Guillaume.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:19:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:19:40Z</dc:date>
    <item>
      <title>Talend ESB 7.1.1 : Important bug, test returns false instead of true</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-ESB-7-1-1-Important-bug-test-returns-false-instead-of/m-p/2333723#M102479</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Following a previous topic I've made here (&lt;A href="https://community.qlik.com/s/feed/0D73p000004kW0NCAU#M87019" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Conditional-component-simple-if-true-commit-else-die/m-p/140810#M87019&lt;/A&gt;), I've decided to open a new one&amp;nbsp;specially dedicated to this bug I've just isolated a bit more now.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I encountered this bug two times in two days that's why I would like it to be identified or maybe patched if this is really a talend issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I simplified my flow like this now :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flux.png" style="width: 516px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M11c.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138885iB68EB819B9325756/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M11c.png" alt="0683p000009M11c.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;That flow has only one goal : count the number of rows returned by a join between two tables (located in two different db's)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Then the result is compared to an other value which should be provided by a parent job (using context value). In this exemple, I've only ran the child job so I defined the value right inside the context like this :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="context value.png" style="width: 713px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M11h.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153427i8F0572082204CE26/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M11h.png" alt="0683p000009M11h.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Below, I printed both values and then compared them.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tjavarow1.png" style="width: 903px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M11r.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157767iA9B698E0FDFB12C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M11r.png" alt="0683p000009M11r.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Finally, here is the result i get after running my job :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="result.png" style="width: 589px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M121.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154730iBA2CDE0C285EFA01/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M121.png" alt="0683p000009M121.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Good luck &amp;amp; Have fun &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Guillaume.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-ESB-7-1-1-Important-bug-test-returns-false-instead-of/m-p/2333723#M102479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Talend ESB 7.1.1 : Important bug, test returns false instead of true</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-ESB-7-1-1-Important-bug-test-returns-false-instead-of/m-p/2333724#M102480</link>
      <description>&lt;P&gt;it is not a Talend Bug, but Java feature&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/1514910/how-to-properly-compare-two-integers-in-java" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/1514910/how-to-properly-compare-two-integers-in-java&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 01:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-ESB-7-1-1-Important-bug-test-returns-false-instead-of/m-p/2333724#M102480</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-11T01:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Talend ESB 7.1.1 : Important bug, test returns false instead of true</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-ESB-7-1-1-Important-bug-test-returns-false-instead-of/m-p/2333725#M102481</link>
      <description>&lt;P&gt;Hello Vapukov,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Friends of mine&amp;nbsp;told me last week that it was due to bad use of java, as you did.&lt;/P&gt; 
&lt;P&gt;But what makes them think this way ? I simply show them the issue upside down.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I was doing this comparison (with == instead of equals method) inside two different components : a tMap and this tJavaRow.&lt;/P&gt; 
&lt;P&gt;As it was working great inside the tMap I have postulated that this behaviour was right.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Then, I discovered it was not working inside the tJavaRow and I thought the issue was there, that's why I created this topic.&lt;/P&gt; 
&lt;P&gt;Fact is I only show you (and friends of mine) the content of the tJavaRow without even talking about my tMap. This way you all found the solution which is really great, thanks again &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;BUT, now I discovered that the tMap I thought was working well ... is actually not ... (see screenshots below)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="count.png" style="width: 789px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1OI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148051iFBF239386898D7E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1OI.png" alt="0683p000009M1OI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmap3.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Sd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143797i3E86224AD4B47F45/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Sd.png" alt="0683p000009M1Sd.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="resultats.png" style="width: 378px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Sn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146248iB09E311A276C4EC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Sn.png" alt="0683p000009M1Sn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As you can see, here I'm using == to compare two integers greater than 127 ...&lt;/P&gt; 
&lt;P&gt;If I follow your instructions and how Java should work&amp;nbsp;in this particular case, the result must be false... But it returns me true...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And because of that, I thought this tJavaRow was not working well ...&lt;/P&gt; 
&lt;P&gt;So it seems there is an issue though with Talend in this case, no ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Guillaume&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 08:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-ESB-7-1-1-Important-bug-test-returns-false-instead-of/m-p/2333725#M102481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-16T08:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Talend ESB 7.1.1 : Important bug, test returns false instead of true</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-ESB-7-1-1-Important-bug-test-returns-false-instead-of/m-p/2333726#M102482</link>
      <description>&lt;P&gt;if You check schema you will see for INteger type - Int/Integer, it means type could be any of 2&lt;/P&gt;
&lt;P&gt;but Int does not equal Integer&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;equal - more safe and predicted&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 13:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-ESB-7-1-1-Important-bug-test-returns-false-instead-of/m-p/2333726#M102482</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-17T13:11:07Z</dc:date>
    </item>
  </channel>
</rss>

