[JBoss JIRA] Created: (JBPM-2630) JbpmConfiguration.popJbpmConfiguration() doesn't implement a pop operation
by Toshiya Kobayashi (JIRA)
JbpmConfiguration.popJbpmConfiguration() doesn't implement a pop operation
--------------------------------------------------------------------------
Key: JBPM-2630
URL: https://jira.jboss.org/jira/browse/JBPM-2630
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.2.8, jBPM 3.2.7
Reporter: Toshiya Kobayashi
org.jbpm.JbpmConfiguration.java:
=====
synchronized void popJbpmConfiguration() {
getJbpmConfigurationStack().remove(this);
}
=====
List.remove() can break ordering in the jbpmConfigurationStack, then eventually getCurrentJbpmConfiguration() will return an wrong jbpmConfiguration instance.
(List.remove(java.lang.Object) behaves like FIFO if there are multiple elements which refer the same object)
On the other hand, popJbpmContext() pops properly.
=====
void popJbpmContext(JbpmContext jbpmContext) {
List stack = getJbpmContextStack();
int size = stack.size();
if (size == 0) {
...
}
else if (jbpmContext != stack.remove(size - 1)) {
...
}
}
=====
--
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
14 years, 5 months
[JBoss JIRA] Created: (JBPM-2573) Process name text input field in properties view does not input characters in the right order
by Carl Allain (JIRA)
Process name text input field in properties view does not input characters in the right order
---------------------------------------------------------------------------------------------
Key: JBPM-2573
URL: https://jira.jboss.org/jira/browse/JBPM-2573
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: GPD
Affects Versions: jBPM 4.1
Environment: Eclipse Platform 3.5.1.M20090917-0800
jBPM 4 Graphical Editor and Tools 1.1.0.v200908252230-31-8s733L3J7D7793
All jBPM 4 Tools Features 4.1.0.v200908252230-775-A0I8_GOdN2MrX_LVTDTlIAAj
jBPM 4 Graphical Editor and Tools Sources 1.1.0.v200908252230-31-8s733L3J7D7793
Windows XP SP3
Reporter: Carl Allain
Priority: Minor
The field "name" in the "properties" view does not work like other fields. Characters entered on the keyboard are always put at the beginning of the current property value, regardless of where the cursor is positionned.
--
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
14 years, 5 months
[JBoss JIRA] Created: (JBPM-2482) console should pass authenticated user to engine operations
by Tom Baeyens (JIRA)
console should pass authenticated user to engine operations
-----------------------------------------------------------
Key: JBPM-2482
URL: https://jira.jboss.org/jira/browse/JBPM-2482
Project: jBPM
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Console
Reporter: Tom Baeyens
Assignee: Joram Barrez
Fix For: jBPM 4.2
following pieces of console code should be revisisted so that the authenticated user is passed to the engine operations:
public ProcessInstanceRef newInstance(String definitionId, Map<String, Object> processVars)
{
Environment env = ((EnvironmentFactory)processEngine).openEnvironment();
try
{
ExecutionService execService = this.processEngine.getExecutionService();
Execution exec = execService.startProcessInstanceById(definitionId);
execService.setVariables(exec.getId(), processVars);
return ModelAdaptor.adoptExecution((ExecutionImpl)exec);
}
finally{
env.close();
}
}
First, the API needs to expose a way on how to set the authenticated user programmatically.
--
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
14 years, 5 months