super-state gets loaded as Node instance
----------------------------------------

         Key: JBPM-117
         URL: http://jira.jboss.com/jira/browse/JBPM-117
     Project: JBoss jBPM
        Type: Bug
  Components: Core Engine  
    Versions: jBPM 3.0 alpha 3    
    Reporter: Tom Baeyens
 Assigned to: Tom Baeyens 


jbpm3.0-alpha3: The instanceof operation in
Transition.java at line 103 fails for processes
instances that were loaded from the db because
destination gets loaded as a Node instance instead of
SuperState. The process does get created in the db
correctly, but it does not loead correctly if the
creating session is closed and a new session latter
loads the process.

I believe the Hibernate mappings are incorrect in the
hbm files for the jbpm_node table. The subclasses and
discriminators are not working. Hypothesis: The
subclasses definitions may have to be in Node.hbm.xml
instead of their own files (not sure, but that way
worked for me on other projects.)

This issues results in super state events not being
fired if the process is signalled in a seperate session
that that which created the process. 

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to