[jboss-jira] [JBoss JIRA] Created: (JBPM-839) Can't store JSR170 node.

David Chan (JIRA) jira-events at lists.jboss.org
Wed Feb 14 11:22:39 EST 2007


Can't store JSR170 node.
------------------------

                 Key: JBPM-839
                 URL: http://jira.jboss.com/jira/browse/JBPM-839
             Project: JBoss jBPM
          Issue Type: Bug
          Components: Core Engine
    Affects Versions: jBPM jPDL 3.2 beta 2
         Environment: windows XP english version
JDK 1.5.10
jackrabbit 1.2.1

            Reporter: David Chan
         Assigned To: Tom Baeyens


when I run the test case org.jbpm.jcr.JcrDbTest ,  hibernate session can't be committed.

see below key lines:

....deploy process.
....
 ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("document approval");
.....
Node documentNode = processInstanceNode.addNode("document");
.....
contextInstance.setVariable("document", documentNode);
....

According to the chapter 12 titled 'Document management' of user guide,  it said:

"Next, JCR Node's can be stored in the process variables"

that seems doesn't work!

I also viewed  the class file 'JcrNodeInstance'  and found it extends class 'VariableInstance',  
the node-type variable ought support persistent.
something else wrong?




-- 
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