<?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: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer when setting workflow priority in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194691#M147821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That would indeed be a possibility that would solve the issues. Interesting thought.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2015 11:51:32 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-02-18T11:51:32Z</dc:date>
    <item>
      <title>java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer when setting workflow priority</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194686#M147816</link>
      <description>I'm trying to change a running workflow's priority as described at this Alfresco's forum post https://forums.alfresco.com/forum/developer-discussions/workflow/javalangclasscastexception-javalangdouble-cannot-be-castPlease, anyone can take a look at this and try to give an idea on how to fix or any w</description>
      <pubDate>Sat, 31 Jan 2015 02:05:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194686#M147816</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-01-31T02:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer when setting workflow priority</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194687#M147817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, even though it's wrong that it's stored as a double … did you try casting it to an int, just to make it run?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 16:14:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194687#M147817</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-09T16:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer when setting workflow priority</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194688#M147818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I tried that too, but it doesn't matter which data type I use, it always saves that property as double into the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only the first save, which is when the workflow is started, set's the workflow priority as integer into the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment, I'm trying to reimplement my task logic using a custom Java TaskListener.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 17:40:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194688#M147818</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-02-09T17:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer when setting workflow priority</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194689#M147819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm i see. The task listener approach in Java should indeed be safer, as the type is explicit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 22:07:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194689#M147819</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-09T22:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer when setting workflow priority</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194690#M147820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Everything worked using Java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So this is the way to go…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I think the execution javascript root object should be able to deal correctly with ootb properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe including a new parameter for execution.setVariable method, like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;execution.setVariable("variable", "value", "type");&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 02:28:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194690#M147820</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-02-10T02:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer when setting workflow priority</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194691#M147821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That would indeed be a possibility that would solve the issues. Interesting thought.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 11:51:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194691#M147821</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-18T11:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer when setting workflow priority</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194692#M147822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you think we can wait for something like that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 13:40:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194692#M147822</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-02-18T13:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer when setting workflow priority</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194693#M147823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, the cheesy answer is that we happily accept pull requests &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; That's the quickest way to get it in. Otherwise, it will have to battle with other priorities … and frankly at the moment there are some other areas that need a lot of love right now :s&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 16:54:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-lang-classcastexception-java-lang-double-cannot-be-cast-to/m-p/194693#M147823</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-18T16:54:39Z</dc:date>
    </item>
  </channel>
</rss>

