[jira] [Commented] (OFBIZ-10386) Empty field is reflecting on Contact list section on Profile Page

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

[jira] [Commented] (OFBIZ-10386) Empty field is reflecting on Contact list section on Profile Page

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-10386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353761#comment-17353761 ]

Jacques Le Roux commented on OFBIZ-10386:
-----------------------------------------

Thanks guys,


{noformat}
I did not close because I found this in log after pushing:

2021-05-29 15:42:42,257 |jsse-nio-8443-exec-5 |ControlServlet                |T| [[[ecomseo::createContactListParty (Domain:https://localhost)] Request Done- total:1.311,since last([ecomseo::createC...):1.311]]
2021-05-29 15:42:43,686 |OFBiz-JobQueue-0     |PersistedServiceJob           |I| Job  [1622295761316] Id [11102] -- Next runtime: Thu Jan 01 00:59:59 CET 1970
2021-05-29 15:42:43,904 |OFBiz-JobQueue-0     |ScreenFactory                 |I| Got 7 screens in 0.004s from: file:/C:/projectsASF/Git/ofbiz-framework/plugins/ecommerce/widget/EmailContactListScreens.xml
2021-05-29 15:42:43,935 |OFBiz-JobQueue-0     |FreeMarkerWorker              |E| null
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> baseLocation  [in template "component://ecommerce/template/email/ContactListVerifyEmail.ftl" at line 35, column 8]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (Thes
e only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
        - Failed at: #if baseLocation == "/ecomseo"  [in template "component://ecommerce/template/email/ContactListVerifyEmail.ftl" at line 35, column 3]
----
{noformat}

I guess it's only because I locally used ecomseo instead of ecommerce. But please could you have a look, confirm, and create a new patch for that?  TIA

> Empty field is reflecting on Contact list section on Profile Page
> -----------------------------------------------------------------
>
>                 Key: OFBIZ-10386
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10386
>             Project: OFBiz
>          Issue Type: Bug
>         Environment: https://demo-trunk.ofbiz.apache.org/ecomseo/viewprofile
>            Reporter: Archana Asthana
>            Assignee: Devanshu Vyas
>            Priority: Major
>         Attachments: EmptyFields.png, ViewProfileV2.patch
>
>
> Steps to generate:
> Open https://demo-trunk.ofbiz.apache.org/ecomseo/viewprofile
> On the profile page, Go down to Contact list
> Empty fields are displaying before Verify Subscription button
> Expected: The field should have some specifications to be filled up
> Image is attached for reference



--
This message was sent by Atlassian Jira
(v8.3.4#803005)