This is an automated email from the ASF dual-hosted git repository.
mbrohl pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new ce5397d Fixed: Prevents NPE in Party/My Communications (OFBIZ-12164)
ce5397d is described below
commit ce5397dbc6cd1402dd6f4e42a55cea7a5baff409
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 5413346..f6771e6 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"/>