This is an automated email from the ASF dual-hosted git repository.
pawan pushed a commit to branch release18.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/release18.12 by this push:
new 50d0069 Fixed: Order Status History section broken for anonymous order (OFBIZ-11231)
50d0069 is described below
commit 50d0069e84af8cac2241c5a00c37cd6b3b2b7619
Author: Pawan Verma <
[hidden email]>
AuthorDate: Sat Jan 25 12:02:48 2020 +0530
Fixed: Order Status History section broken for anonymous order
(OFBIZ-11231)
Reason for the issue: Anonymous orders doen't have associated User login record, so shown statusUserLogin in that case.
---
applications/order/template/order/OrderInfo.ftl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/applications/order/template/order/OrderInfo.ftl b/applications/order/template/order/OrderInfo.ftl
index 36cc052..c94ee4a 100644
--- a/applications/order/template/order/OrderInfo.ftl
+++ b/applications/order/template/order/OrderInfo.ftl
@@ -121,7 +121,7 @@ under the License.
<div>
${loopStatusItem.get("description",locale)} <#if orderHeaderStatus.statusDatetime?has_content>- ${Static["org.apache.ofbiz.base.util.UtilFormatOut"].formatDateTime(orderHeaderStatus.statusDatetime, "", locale, timeZone)?default("0000-00-00 00:00:00")}</#if>
- ${uiLabelMap.CommonBy} - ${Static["org.apache.ofbiz.party.party.PartyHelper"].getPartyName(delegator, userlogin.getString("partyId"), false)}
+ ${uiLabelMap.CommonBy} - ${Static["org.apache.ofbiz.party.party.PartyHelper"].getPartyName(delegator, userlogin.getString("partyId"), false)!orderHeaderStatus.statusUserLogin!}
</div>
</#list>
</#if>