ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacopo Cappellato (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9325) Error in Party Manager->Parties->SHOPPING LIST->QUICK ADD TO SHOPPING LIST section
Date Wed, 19 Apr 2017 13:47:41 GMT

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

Jacopo Cappellato commented on OFBIZ-9325:

[~tzngvi] I can reproduce the error you have reported but, due to limited time, I could not
find the root cause of it.
In the meantime you could check other similar screens that use the renderLookupField macro
and works properly even after my changes, for example:


By analyzing and comparing the ones that work with the ones that fail we may gather useful
clues for a proper fix.
I hope it helps

> Error in Party Manager->Parties->SHOPPING LIST->QUICK ADD TO SHOPPING LIST section
> ----------------------------------------------------------------------------------
>                 Key: OFBIZ-9325
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9325
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Trunk
>            Reporter: Wei Zhang
>            Assignee: Jacopo Cappellato
>            Priority: Minor
> To reproduce it:
> 1. Open partymgr/control/editShoppingList?partyId=admin
> 2. Add a product to shopping list in QUICK ADD TO SHOPPING LIST section by clicking ADD
> 3. You should be able to get error message below
> _The following has evaluated to null or missing: ==> renderLookupField [in template
"component://common/template/includes/HtmlTemplate.ftl" at line 38, column 5] ---- Tip: If
the failing expression is known to be 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.
(These 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: @renderLookupField name, formName, fi... [in template "component://common/template/includes/HtmlTemplate.ftl"
in macro "lookupField" at line 38, column 3] - Reached through: @htmlTemplate.lookupField
formName="a... [in template "component://party/template/party/EditShoppingList.ftl" at line
256, column 7] ----_
> [~jacopoc] Can you please check it? As I dont understand your commits in 1785581 and
1762227. Thanks.

This message was sent by Atlassian JIRA

View raw message