<?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 [resolved] context variable of type Object not handled correctly in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351087#M117812</link>
    <description>I am trying to pass an Object context variable from a parent job to a sub job, they seem to be converted to String.&lt;BR /&gt;I see this bug: &lt;A href="http://www.talendforge.org/bugs/view.php?id=11310" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/bugs/view.php?id=11310&lt;/A&gt; was filed and fixed in 3.2.4, I'm using 4.1.2&lt;BR /&gt;Am I missing anything? Is there a better way? Please take a look at the short recording I made here to show the issue: &lt;A href="http://youtu.be/O4Tx6aOZTXI" target="_blank" rel="nofollow noopener noreferrer"&gt;http://youtu.be/O4Tx6aOZTXI&lt;/A&gt;</description>
    <pubDate>Mon, 12 Mar 2012 20:49:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-12T20:49:49Z</dc:date>
    <item>
      <title>[resolved] context variable of type Object not handled correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351087#M117812</link>
      <description>I am trying to pass an Object context variable from a parent job to a sub job, they seem to be converted to String.&lt;BR /&gt;I see this bug: &lt;A href="http://www.talendforge.org/bugs/view.php?id=11310" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/bugs/view.php?id=11310&lt;/A&gt; was filed and fixed in 3.2.4, I'm using 4.1.2&lt;BR /&gt;Am I missing anything? Is there a better way? Please take a look at the short recording I made here to show the issue: &lt;A href="http://youtu.be/O4Tx6aOZTXI" target="_blank" rel="nofollow noopener noreferrer"&gt;http://youtu.be/O4Tx6aOZTXI&lt;/A&gt;</description>
      <pubDate>Mon, 12 Mar 2012 20:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351087#M117812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-12T20:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] context variable of type Object not handled correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351088#M117813</link>
      <description>Hi&lt;BR /&gt;I don't think this is a bug.&lt;BR /&gt;Because you will find these code in Talend job.&lt;BR /&gt;&lt;PRE&gt;context.new1 = (Object) context.getProperty("new1");&lt;/PRE&gt;&lt;BR /&gt;The return data type of getProperty() method is String.&lt;BR /&gt;So this Object will be converted into java.lang.String.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 13 Mar 2012 03:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351088#M117813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-13T03:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] context variable of type Object not handled correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351089#M117814</link>
      <description>Thanks for the response Pedro, I don't think I understand it though - you're saying that it's not a bug because the generated code turns it into a string? How would I pass an object then from a parent job?</description>
      <pubDate>Tue, 13 Mar 2012 21:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351089#M117814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-13T21:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] context variable of type Object not handled correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351090#M117815</link>
      <description>Hi&lt;BR /&gt;If you want to pass an Object from parent job, don't type new Object() in Contexts tag.&lt;BR /&gt;Use tJava or tJavaRow before tRunJob.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 14 Mar 2012 01:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351090#M117815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-14T01:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] context variable of type Object not handled correctly</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351091#M117816</link>
      <description>Thanks pedro, perfect!</description>
      <pubDate>Wed, 14 Mar 2012 22:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-context-variable-of-type-Object-not-handled-correctly/m-p/2351091#M117816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-14T22:38:27Z</dc:date>
    </item>
  </channel>
</rss>

