[JBoss JIRA] Created: (JBPM-1921) getGroupTaskList(List actorids) behaviour changed
by Daniel Bremer-Tonn (JIRA)
getGroupTaskList(List actorids) behaviour changed
-------------------------------------------------
Key: JBPM-1921
URL: https://jira.jboss.org/jira/browse/JBPM-1921
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: API
Affects Versions: jBPM 3.3.0 GA
Reporter: Daniel Bremer-Tonn
We migrated from jpdl v3.2.3 to v3.3 and did see some new behaviour for "JBPMContext.getGroupTaskList(List actorIds)".
Behaviour in V3.2.3: Assigning a task to two pooledActorIds and calling JBPMContext.getGroupTaskList(List actorIds) with these two pooledActorIds will get you a list with one TaskInstance.
In v3.3 you will get now a list with two items, which are two references to the same Taskinstance.
While digging into the code I've found a change in the corresponding hibernate-query ("TaskMgmtSession.findPooledTaskInstancesByActorIds" in hibernate.queries.hbm.xml). The 3.2.3 version uses the "distinct" keyword, while the 3.3 one does not.
Since this is some change in behaviour of the method JBPMContext.getGroupTaskList(List actorIds) either it should be fixed, or if intended should be documented somewhere.
Best regards,
Daniel Bremer-Tonn
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months
[JBoss JIRA] Created: (JBPM-1824) Investigate core test failures against Sybase
by Thomas Diesler (JIRA)
Investigate core test failures against Sybase
---------------------------------------------
Key: JBPM-1824
URL: https://jira.jboss.org/jira/browse/JBPM-1824
Project: JBoss jBPM
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Productization
Reporter: Thomas Diesler
Fix For: jBPM 3.3.1 GA
<exclude>org/jbpm/db/DeleteProcessInstanceDbTest.java</exclude>
<exclude>org/jbpm/graph/exe/SubProcessPlusConcurrencyDbTest.java</exclude>
<exclude>org/jbpm/jbpm1072/JBPM1072Test.java</exclude>
<exclude>org/jbpm/jbpm1755/JBPM1755Test.java</exclude>
<exclude>org/jbpm/jbpm983/JBPM983Test.java</exclude>
<exclude>org/jbpm/job/executor/JobExecutorDbTest.java</exclude>
<exclude>org/jbpm/optimisticlocking/LockingTest.java</exclude>
<exclude>org/jbpm/scheduler/exe/UnsafeSessionUsageTest.java</exclude>
<exclude>org/jbpm/seam/JobExecutorCustomizationTest.java</exclude>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months
[JBoss JIRA] Created: (JBPM-1429) Custom FunctionMapper implementation is not picked up in org.jbpm.mail.Mail
by Martin Putz (JIRA)
Custom FunctionMapper implementation is not picked up in org.jbpm.mail.Mail
---------------------------------------------------------------------------
Key: JBPM-1429
URL: https://jira.jboss.org/jira/browse/JBPM-1429
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jPDL 3.2.3
Reporter: Martin Putz
Assignee: Alejandro Guizar
Fix For: JBossBPM-3.3.0
I have created a custom implementation of the FunctionMapper, which provides a custom function I want to use in an email template.
Now, after I add the reference to this FunctionMapper to jbpm.cfg.xml:
<bean name="jbpm.function.mapper" class="org.jbpm.jpdl.el.impl.DateFormatFunctionMapper" singleton="true" />
it will get picked up, but unfortunately, the default Mail class does not use it because it always sets the FunctionMapper to null in the evaluate method (last parameter):
String evaluate(String expression) {
//...
return (String) JbpmExpressionEvaluator.evaluate(expression, executionContext, variableResolver, null);
this should be :
return (String) JbpmExpressionEvaluator.evaluate(expression, executionContext, variableResolver, JbpmExpressionEvaluator.getUsedFunctionMapper());
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months