Fixed: Prevents NPE in Party/My Communications (OFBIZ-12164)

This commit is contained in:
Benjamin Jugl
2021-02-11 21:38:16 +01:00
committed by Michael Brohl
parent 177b96300f
commit 85150bc7ab
@@ -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"/>