ERROR Error in named query: GraphSession.findTokensForProcessInNode: Invalid path:
'node.name'
----------------------------------------------------------------------------------------------
Key: JBPM-1712
URL:
https://jira.jboss.org/jira/browse/JBPM-1712
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 3.2.3, SOA 4.2 CP02
Reporter: Martin Putz
org/jbpm/db/hibernate.queries.hbm.xml:
<query name="GraphSession.findTokensForProcessInNode">
<![CDATA[
select token
from org.jbpm.graph.exe.Token token
where token.processInstance.processDefinition.name = :processDefinitionName
and node.name = :nodeName
]]>
</query>
throws org.hibernate.hql.ast.QuerySyntaxException: Invalid path: 'node.name' b/c
'node' isn't defined.
Looking at org.jbpm.command.BatchSignalCommand (the only class using this named query), I
guess it should rather be
and token.node.name = :nodeName
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira