[jboss-jira] [JBoss JIRA] Created: (JBPM-1057) unsaved type for VariableInstance

renaud chone (JIRA) jira-events at lists.jboss.org
Mon Sep 24 10:54:41 EDT 2007


unsaved type for VariableInstance 
----------------------------------

                 Key: JBPM-1057
                 URL: http://jira.jboss.com/jira/browse/JBPM-1057
             Project: JBoss jBPM
          Issue Type: Bug
          Components: Core Engine
    Affects Versions: jBPM 3.1.4, jBPM 3.1.3, jBPM jPDL 3.2.3
            Reporter: renaud chone
         Assigned To: Tom Baeyens
            Priority: Minor


When creating a new process with Integer variables, I retrieve the same variables as a Long in a new session. In the database, the converter_ column contains only null values.

I've identified the problem: there were two instances of IntegerToLongConverter. This is most likely a mistake but it's really hard to find. It would be a good idea to make the converter classes singleton or to use the class instead of the instance as a key in the HashMap of org.jbpm.db.hibernate.Converters.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list