[jboss-jira] [JBoss JIRA] Updated: (JBPM-839) Can't store JSR170 node.
David Chan (JIRA)
jira-events at lists.jboss.org
Wed Feb 14 11:32:37 EST 2007
[ http://jira.jboss.com/jira/browse/JBPM-839?page=all ]
David Chan updated JBPM-839:
----------------------------
Description:
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);
//comment the line above, there's no exception.
....
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?
Details please see the attachment 'jsr-cannot-persistent.txt'
was:
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?
Details please see the attachment 'jsr-cannot-persistent.txt'
> 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
> Attachments: jsr-cannot-persistent.txt
>
>
> 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);
> //comment the line above, there's no exception.
> ....
> 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?
> Details please see the attachment 'jsr-cannot-persistent.txt'
--
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