[jboss-user] [jBPM] - Re: Upgrade jbpm 5.3 to jbpm 5.4 (could not resolve property: shortText of: org.jbpm.task.I18NText)
franco80
do-not-reply at jboss.com
Sun Jan 6 08:59:52 EST 2013
franco80 [https://community.jboss.org/people/franco80] created the discussion
"Re: Upgrade jbpm 5.3 to jbpm 5.4 (could not resolve property: shortText of: org.jbpm.task.I18NText)"
To view the discussion, visit: https://community.jboss.org/message/788188#788188
--------------------------------------------------------------
ok, it works: https://github.com/droolsjbpm/jbpm/pull/143 https://github.com/droolsjbpm/jbpm/pull/143
change in Taskorm-JPA2.xml:
<named-query name="TasksByStatusByProcessIdByTaskName">
<query>
select
new org.jbpm.task.query.TaskSummary(
t.id,
t.taskData.processInstanceId,
name.text,
subject.text,
description.text,
t.taskData.status,
t.priority,
t.taskData.skipable,
actualOwner,
createdBy,
t.taskData.createdOn,
t.taskData.activationTime,
t.taskData.expirationTime,
t.taskData.processId,
t.taskData.processSessionId)
from
Task t
left join t.taskData.actualOwner as actualOwner
left join t.taskData.createdBy as createdBy
left join t.subjects as subject
left join t.descriptions as description
left join t.names as name
where
t.archived = 0 and
t.taskData.processInstanceId = :processInstanceId and
name.text = :taskName and
(
name.language = :language
or t.names.size = 0
) and
(
subject.language = :language
or t.subjects.size = 0
) and
(
description.language = :language
or t.descriptions.size = 0
) and
t.taskData.status in (:status) and
t.taskData.expirationTime is null
</query>
<!-- hint name="org.hibernate.timeout" value="200"/ -->
</named-query>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/788188#788188]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130106/51b86df7/attachment.html
More information about the jboss-user
mailing list