<?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: can't order the listeners in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115973#M81787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sooner if the fix is committed into the trunk version in the Codehaus SVN, the better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just experimented by replacing that portion with my own small changes and adding a remove list function. Works nicely though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, maybe there is an explaination or reason behind having in the first place of that if/else condition, that I would really like to find out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2012 08:40:13 GMT</pubDate>
    <dc:creator>littletaffer</dc:creator>
    <dc:date>2012-08-15T08:40:13Z</dc:date>
    <item>
      <title>can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115965#M81779</link>
      <description>open the task properties tab, switch to Listener, then change the Listeners's order, then save the diagram.after reopen the task Listener tab, the order is not the last change.</description>
      <pubDate>Wed, 01 Aug 2012 03:54:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115965#M81779</guid>
      <dc:creator>dragon1</dc:creator>
      <dc:date>2012-08-01T03:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115966#M81780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also have a similar problem. Is there any solution to this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 07:39:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115966#M81780</guid>
      <dc:creator>littletaffer</dc:creator>
      <dc:date>2012-08-14T07:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115967#M81781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;edit them in the source?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 08:06:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115967#M81781</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-08-14T08:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115968#M81782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently one workaround is to edit the workflow file and move the order in the way is preferred then refreshing the diagram file again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Editing the source is the issue. Which file exactly? It has to be somewhere before the bpmn.xml file is generated. That's the tough part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The XML extract below is from the bpmn file. If the reordering has to take effect, the field extension entries have to be changed before it goes to bpmn20.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;nbsp; &amp;lt;bpmn2:smileytongue:rocess id="Diagram2" name="diagram2"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation id="documentation_process" text="Place documentation for the 'diagram2' process here."/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bpmn2:smileytongue:rocess&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:smileyfrustrated:tartEvent id="startevent1" name="Start" outgoing="flow1"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:smileyfrustrated:erviceTask id="servicetask1" name="Service Task" incoming="flow1" outgoing="flow2" implementation="my.mimos.workflow.sdl.ListenerX" fieldExtensions="/7 /8 /9 /10 /11 /12 /13 /14 /15 /16" resultVariableName="a"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:smileyfrustrated:equenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="servicetask1"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:EndEvent id="endevent1" name="End" incoming="flow2"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:smileyfrustrated:equenceFlow id="flow2" name="" sourceRef="servicetask1" targetRef="endevent1"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="a" expression="$1"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="b" expression="2"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="c" expression="3"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="d" expression="4"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="e" expression="5"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="f" expression="6"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="g" expression="7"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="h " expression="8"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="i" expression="9"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmn2:FieldExtension fieldname="j" expression="10"/&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea where could it be?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 08:31:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115968#M81782</guid>
      <dc:creator>littletaffer</dc:creator>
      <dc:date>2012-08-14T08:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115969#M81783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There only is one file in the newer editors (5.8 adn up I believe, but might be 5.9 and up). So 'generation' does not take place anymore&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 11:49:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115969#M81783</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-08-14T11:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115970#M81784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The extract that I've put up there is based on version 5.8. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Correct me if I am wrong, according to the documentation, the values that are in there will not be re-injected again right, even if we try to rearrange the order?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bulk of code that I've looked through, from BPMN20Marshaller to ServiceTaskExport mostly deal with the generating the bpmn20.xml related files, but never on that workflow file above. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless, there's something amiss in one of the codegen files.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:59:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115970#M81784</guid>
      <dc:creator>littletaffer</dc:creator>
      <dc:date>2012-08-14T14:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115971#M81785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The extract that I've put up there is based on version 5.8. &lt;BR /&gt;&lt;BR /&gt;Correct me if I am wrong, according to the documentation, the values that are in there will not be re-injected again right, even if we try to rearrange the order?&lt;BR /&gt;&lt;BR /&gt;The bulk of code that I've looked through, from BPMN20Marshaller to ServiceTaskExport mostly deal with the generating the bpmn20.xml related files, but never on that workflow file above. &lt;BR /&gt;&lt;BR /&gt;Unless, there's something amiss in one of the codegen files.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Ronald and Dragon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's something that I noticed in FieldExtensionsEditor class file that is related to our problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;//FieldExtension fieldExtension = fieldExtensionExists(serviceTask, fieldName);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;/*if(fieldExtension != null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; fieldExtension.setExpression(fieldExpression);&lt;BR /&gt;} else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FieldExtension newFieldExtension = Bpmn2Factory.eINSTANCE.createFieldExtension(); //this line is from v5.8&lt;BR /&gt;&amp;nbsp;&amp;nbsp; newFieldExtension.setFieldname(fieldName);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; newFieldExtension.setExpression(fieldExpression);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; diagram.eResource().getContents().add(newFieldExtension);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; serviceTask.getFieldExtensions().add(newFieldExtension);&lt;BR /&gt;}*/&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is an existing FieldExtension object, that object surely would have been indexed, which is likely the reason why that object can be moved up or down, except at the initial stage as it has yet to be instantiated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To address the problem, the solution would be not to do fieldExtensionExists check function and add another function just before the loop that will clear off the existing list. I know this would solve the problem, however I would like to find out from Tijs, Tom or others whether that thing above was deliberately put in as well as the logic behind it&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 03:38:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115971#M81785</guid>
      <dc:creator>littletaffer</dc:creator>
      <dc:date>2012-08-15T03:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115972#M81786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I reproduced this issue in the latest version of the Designer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would it be enough for you if I fix the issue in the 5.9.x version of the Designer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The 5.8.x version is not under active development anymore and I see no reason to not upgrade to 5.9.x. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know your thoughts / experiences on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 07:07:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115972#M81786</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-08-15T07:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115973#M81787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sooner if the fix is committed into the trunk version in the Codehaus SVN, the better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just experimented by replacing that portion with my own small changes and adding a remove list function. Works nicely though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, maybe there is an explaination or reason behind having in the first place of that if/else condition, that I would really like to find out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 08:40:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115973#M81787</guid>
      <dc:creator>littletaffer</dc:creator>
      <dc:date>2012-08-15T08:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115974#M81788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I committed a fix to trunk, can you please try it to see if it solves your issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 14:24:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115974#M81788</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-08-15T14:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115975#M81789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tijs, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it is working now. I will also supplement yours with the small fix of mine in the older 5.8 that my ppl are using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Melvin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 11:58:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115975#M81789</guid>
      <dc:creator>littletaffer</dc:creator>
      <dc:date>2012-08-16T11:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: can't order the listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115976#M81790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My problem is happen in 5.9.3. It seems to be fixed in the next version. Nice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am hungry for designer 5.10 to be released.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 00:58:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-order-the-listeners/m-p/115976#M81790</guid>
      <dc:creator>dragon1</dc:creator>
      <dc:date>2012-08-31T00:58:55Z</dc:date>
    </item>
  </channel>
</rss>

