[jboss-user] [JBoss jBPM] - HistoryVariable create bug ?

clt.phoenix do-not-reply at jboss.com
Wed Jul 15 02:52:36 EDT 2009


In the source code of VariableCreate.java 
anonymous wrote : 
  | 
  |   |     HistoryTaskImpl historyTask = null;
  |   |     TaskImpl task = variable.getTask();
  |   |     if (task!=null) {
  |   |       long taskDbid = task.getDbid();
  |   |       historyTask = (HistoryTaskImpl) 
  |   |           dbSession.get(HistoryTaskImpl.class, taskDbid);
  |   |     }
  |   |     
  |   |     HistoryVariableImpl historyVariable = new HistoryVariableImpl(historyProcessInstance, historyTask, variable);
  |   | 
  | 

The HistoryTaskImpl was get by the TaskImpl  id, but In my case the taskImpl id may be not the same with HistoryTaskImpl id ...............

so some time I cann't get the history variable.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243645#4243645

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243645



More information about the jboss-user mailing list