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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new fd5618f868 Fixed NPE issue over login page. (OFBIZ-13391) (#1298)
fd5618f868 is described below

commit fd5618f86869b9e3935ab4ef9f61001b905e7a3b
Author: ratneshup <[email protected]>
AuthorDate: Fri May 29 16:09:58 2026 +0530

    Fixed NPE issue over login page. (OFBIZ-13391) (#1298)
---
 applications/commonext/widget/CommonScreens.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/commonext/widget/CommonScreens.xml 
b/applications/commonext/widget/CommonScreens.xml
index 80898eceae..8cb1774194 100644
--- a/applications/commonext/widget/CommonScreens.xml
+++ b/applications/commonext/widget/CommonScreens.xml
@@ -28,7 +28,7 @@ under the License.
                     <field-map field-name="partyId" 
from-field="userLogin.partyId"/>
                 </entity-one>
                 <set field="line.text" value="${uiLabelMap.CommonWelcome}"/>
-                <set field="line.urlText" value="${groovy: 
userLogin.userFullName?:userLogin.userLoginId}"/>
+                <set field="line.urlText" value="${groovy: userLogin ? 
(userLogin.userFullName ?: userLogin.userLoginId) : ''}"/>
                 <set field="line.url" value="userprofile"/>
                 <set field="layoutSettings.topLines[]" from-field="line" 
global="true"/>
                 <script 
location="component://commonext/src/main/groovy/org/apache/ofbiz/commonext/ofbizsetup/ChangeOrgPartyId.groovy"/><!--
 to see ofbizsetup needs to be displayed -->

Reply via email to