[ofbiz-framework] branch release18.12 updated: Fixed: Prevents NPE in Party/My Communications (OFBIZ-12164)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release18.12 updated: Fixed: Prevents NPE in Party/My Communications (OFBIZ-12164)

mbrohl
This is an automated email from the ASF dual-hosted git repository.

mbrohl pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new 85150bc  Fixed: Prevents NPE in Party/My Communications (OFBIZ-12164)
85150bc is described below

commit 85150bc7ab5206761aa70e2f0ffde16bc28fa29a
Author: Benjamin Jugl <[hidden email]>
AuthorDate: Tue Feb 2 11:39:54 2021 +0100

    Fixed: Prevents NPE in Party/My Communications (OFBIZ-12164)
---
 applications/party/widget/partymgr/CommunicationEventForms.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/applications/party/widget/partymgr/CommunicationEventForms.xml b/applications/party/widget/partymgr/CommunicationEventForms.xml
index a885e1d..738ca55 100644
--- a/applications/party/widget/partymgr/CommunicationEventForms.xml
+++ b/applications/party/widget/partymgr/CommunicationEventForms.xml
@@ -504,9 +504,6 @@ under the License.
                 <field-map field-name="viewSize" from-field="viewSize"/>
             </service>
         </actions>
-        <row-actions>
-            <set field="toComplete" value="${groovy: 'COM_ROLE_READ'.equals(roleStatusId) ? 'PartyToComplete' : ' '}"/>
-        </row-actions>
         <field name="deleteCommEventIfLast"><hidden value="Y"/></field>
         <field name="delContentDataResource"><hidden value="Y"/></field>
         <field name="partyId"><hidden/></field>
@@ -541,7 +538,7 @@ under the License.
         <field name="statusId" entry-name="roleStatusId" widget-style="buttontext" widget-area-style="fieldWidth300">
             <display-entity entity-name="StatusItem">
                 <sub-hyperlink target="setCommunicationEventRoleStatus"
-                    description="${uiLabelMap.${toComplete}}">
+                    description="${groovy: 'COM_ROLE_READ'.equals(roleStatusId) ? 'uiLabelMap.PartyToComplete' : ' '}">
                     <parameter param-name="communicationEventId"/>
                     <parameter param-name="partyId"/>
                     <parameter param-name="roleTypeId"/>