<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: Upgrade jbpm 5.3 to jbpm 5.4 (could not resolve property: shortText of: org.jbpm.task.I18NText)
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/franco80">franco80</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/788188#788188">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p><span>ok, it works: </span><a class="jive-link-external-small" href="https://github.com/droolsjbpm/jbpm/pull/143" target="_blank">https://github.com/droolsjbpm/jbpm/pull/143</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span class="short_text" id="result_box" lang="en"><span class="hps">change</span> <span class="hps">in</span> <span class="hps">Taskorm</span><span class="atn">-</span><span>JPA2.xml:</span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p class="line" id="LC783"><span class="nt"><named-query</span> <span class="na">name=</span><span class="s">"TasksByStatusByProcessIdByTaskName"</span><span class="nt">></span></p><p class="line" id="LC784">        <span class="nt"><query></span></p><p class="line" id="LC785">            select</p><p class="line" id="LC786">            new org.jbpm.task.query.TaskSummary(</p><p class="line" id="LC787">            t.id,</p><p class="line" id="LC788">            t.taskData.processInstanceId,</p><p class="line" id="LC789">            name.text,</p><p class="line" id="LC790">            subject.text,</p><p class="line" id="LC791">            description.text,</p><p class="line" id="LC792">            t.taskData.status,</p><p class="line" id="LC793">            t.priority,</p><p class="line" id="LC794">            t.taskData.skipable,</p><p class="line" id="LC795">            actualOwner,</p><p class="line" id="LC796">            createdBy,</p><p class="line" id="LC797">            t.taskData.createdOn,</p><p class="line" id="LC798">            t.taskData.activationTime,</p><p class="line" id="LC799">            t.taskData.expirationTime,</p><p class="line" id="LC800">            t.taskData.processId,</p><p class="line" id="LC801">            t.taskData.processSessionId)</p><p class="line" id="LC802">            from</p><p class="line" id="LC803">            Task t</p><p class="line" id="LC804">            left join t.taskData.actualOwner as actualOwner</p><p class="line" id="LC805">            left join t.taskData.createdBy as createdBy</p><p class="line" id="LC806">            left join t.subjects as subject</p><p class="line" id="LC807">            left join t.descriptions as description</p><p class="line" id="LC808">            left join t.names as name</p><p class="line" id="LC809">            where</p><p class="line" id="LC810">            t.archived = 0 and</p><p class="line" id="LC811">            t.taskData.processInstanceId = :processInstanceId and</p><p class="line" id="LC812">            name.text = :taskName and</p><p class="line" id="LC813">            (</p><p class="line" id="LC814">            name.language = :language</p><p class="line" id="LC815">            or t.names.size = 0</p><p class="line" id="LC816">            ) and</p><p class="line" id="LC817" style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p class="line" id="LC818">            (</p><p class="line" id="LC819">            subject.language = :language</p><p class="line" id="LC820">            or t.subjects.size = 0</p><p class="line" id="LC821">            ) and</p><p class="line" id="LC822" style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p class="line" id="LC823">            (</p><p class="line" id="LC824">            description.language = :language</p><p class="line" id="LC825">            or t.descriptions.size = 0</p><p class="line" id="LC826">            ) and</p><p class="line" id="LC827" style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p class="line" id="LC828">            t.taskData.status in (:status) and</p><p class="line" id="LC829" style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p class="line" id="LC830">            t.taskData.expirationTime is null</p><p class="line" id="LC831">        <span class="nt"></query></span></p><p class="line" id="LC832">        <span class="c"><!-- hint name="org.hibernate.timeout" value="200"/ --></span></p><p class="line" id="LC833">    <span class="nt"></named-query></span></p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/788188#788188">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>