Configuration Server Bonita-Studio 6.4.0
I also have the problem when exchanging diagrams between myself an another person. We can import the processes and organization. But the "Configuration" button is dead. In the error log I see that there indicates that upon hitting the "Configure" button, an error is generated as described by mfidalgo above.
!ENTRY org.bonitasoft.studio.common 4 0 2015-02-03 15:25:47.928 !ERROR org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'group' not found. (file:/C:/BonitaBPMCommunity-6.4.0/workspace/default/process_configurations/_tIViUZgwEeSFrPV_tqo1rQ.conf, 13, 52) !STACK 0 org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'group' not found.
I found the .conf file mentioned by mfidalgo:
<configuration:Configuration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:configuration="http://www.bonitasoft.org/ns/studio/configuration" name="Local" username="Jason.Luchenbill" password="bpm" version="6.4.0-005">
<processDependencies id="ACTOR_FILTER"/>
<processDependencies id="CONNECTOR"/>
<processDependencies id="GROOVY_SCRIPT"/>
<processDependencies id="OTHER"/>
<actorMappings>
<actorMapping name="ActorGroup">
<users/>
<groups/>
<roles/>
<memberships>
<membership group="/Group1" role="Leader"/>
</memberships>
</actorMapping>
<actorMapping name="New Actor Group">
<users/>
<groups>
<group>/Group1</group>
</groups>
<roles/>
<memberships/>
</actorMapping>
</actorMappings>
<applicationDependencies id="GROOVY_SCRIPT"/>
<applicationDependencies id="VALIDATOR"/>
<applicationDependencies id="OTHER"/>
</configuration:Configuration>
The error appears to be related to the 'group' attribute mentioned on line 13.
I consulted a working config, and it looks like this:
<actorMappings>
<actorMapping name="plam">
<users/>
<groups/>
<roles/>
<memberships>
<membership>
<group>/PL/Service</group>
<role>AM</role>
</membership>
</memberships>
</actorMapping>
<actorMapping name="plagent">
<users/>
<groups/>
<roles/>
<memberships>
<membership>
<group>/PL/Sales</group>
<role>Agent</role>
</membership>
</memberships>
</actorMapping>
</actorMappings>
So exported files appear to generate the membership mapping incorrectly. Notice the code on lines 8-11. The values should not be attributes (as in original example line 13, they are child nodes.
So I corrected the XML in the first example to the proper XML structure:
<configuration:Configuration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:configuration="http://www.bonitasoft.org/ns/studio/configuration" name="Local"
username="Jason.Luchenbill" password="bpm" version="6.4.0-005">
<processDependencies id="ACTOR_FILTER"/>
<processDependencies id="CONNECTOR"/>
<processDependencies id="GROOVY_SCRIPT"/>
<processDependencies id="OTHER"/>
<actorMappings>
<actorMapping name="ActorGroup">
<users/>
<groups/>
<roles/>
<memberships>
<membership>
<group>/Group1</group>
<role>Leader</role>
</membership>
</memberships>
</actorMapping>
<actorMapping name="New Actor Group">
<users/>
<groups>
<group>/Group1</group>
</groups>
<roles/>
<memberships/>
</actorMapping>
</actorMappings>
<applicationDependencies id="GROOVY_SCRIPT"/>
<applicationDependencies id="VALIDATOR"/>
<applicationDependencies id="OTHER"/>
</configuration:Configuration>
Voila! Configuration works.
The exporter needs to be fixed.
Comments
If I delete the process, I can't configure anything since configuration is done for a specific process.
After closing, re-importing, re-launching ... Still doesn't work.
I have the same problem. I imported diagram from previous version and when i want to configure actors, i click on button configure, but nothing happens. No window is opening. Any solution?
Moved my response to post.