<?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 Migration to 5.13 issues in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126770#M89166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recently upgraded to 5.13 version from 5.11. Since then I encountered a few migration problems, I hope you will be able to clarify them to me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I have been using a custom scripting engine implementation (I was doing some script preprocessing before evaluating it). I registered the engine the following way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ScriptingEngines scriptingEngines = configuration.getScriptingEngines();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (scriptingEngines == null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scriptingEngines = new ScriptingEngines(new ScriptBindingsFactory(rfactories));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;configuration.setScriptingEngines(new CustomScriptingEngines(scriptingEngines));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After upgrading to 5.13 the engine ignrores this registration and is only using the default ScriptingEngines implementation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. This method org.activiti.bpmn.model.ExtensionElement.getChildElements() returns a map of &amp;lt;String, ExtensionElement&amp;gt; that doesn't allow multiple extension elements with the same name. I temporarily managed by replacing your declaration with &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;protected LinkedMultiValueMap&amp;lt;String, ExtensionElement&amp;gt; childElements = new LinkedMultiValueMap&amp;lt;String, ExtensionElement&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and by adding a getter like this: LinkedMultiValueMap&amp;lt;String, ExtensionElement&amp;gt; getMultiChildElements(), but it's actually a poor quality patch while waiting for your fix. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. I don't actually feel that the BpmnParseHandler based API fully covers the possibilities of the previous BpmnParseListener approach. After a few hours of fighting with the new API I decided to write my own BpmnXMLConverter implementation (where I handled all custom extensions and build my own task object). And - surprisingly - I find this a very correct and handy approach: I build the task object from XML properties and then pass the complete object to the ParseHandler. It greatly separates parsing logic from the remaining work on the parsed task. The only problem is that I had to register the converters by using reflection. Is there any chance that you make org.activiti.bpmn.converter.BpmnXMLConverter.addConverter method public? &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, 17 Jul 2013 14:03:14 GMT</pubDate>
    <dc:creator>pkromolowski</dc:creator>
    <dc:date>2013-07-17T14:03:14Z</dc:date>
    <item>
      <title>Migration to 5.13 issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126770#M89166</link>
      <description>Hi guys,I recently upgraded to 5.13 version from 5.11. Since then I encountered a few migration problems, I hope you will be able to clarify them to me:1. I have been using a custom scripting engine implementation (I was doing some script preprocessing before evaluating it). I registered the engine</description>
      <pubDate>Wed, 17 Jul 2013 14:03:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126770#M89166</guid>
      <dc:creator>pkromolowski</dc:creator>
      <dc:date>2013-07-17T14:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Migration to 5.13 issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126771#M89167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) I'll look into the issue with the script-bindings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) We're going to resolve this issue indeed, always interested to see how you implemented a workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Sure thing, &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/389bf278a48acfeb367bdcda464292a1a1f3124c" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/389bf278a48acfeb367bdcda464292a1a1f3124c&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 14:32:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126771#M89167</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T14:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Migration to 5.13 issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126772#M89168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't immediately see any code that would replace the scriptingEngines that you're using, UNLESS you're using the OSGI org.activiti.osgi.blueprint.ProcessEngineFactoryWithELResolver -&amp;gt; are you using this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, please reply on this thread so we can look deeper. Any idea what particular part of the code is responsible for throwing away your custom ScriptEngines?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 14:38:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126772#M89168</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T14:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Migration to 5.13 issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126773#M89169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As for #1 - I'm lame, sorry for reporting this issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In 5.11 I was overriding the org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(String, String, VariableScope) method, and in 5.13 it isn't called anymore. When I override org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(String, String, Bindings) - everything works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 11:04:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126773#M89169</guid>
      <dc:creator>pkromolowski</dc:creator>
      <dc:date>2013-07-18T11:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Migration to 5.13 issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126774#M89170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, thanks for letting us know what the issue was eventually.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 06:10:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-to-5-13-issues/m-p/126774#M89170</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-19T06:10:03Z</dc:date>
    </item>
  </channel>
</rss>

