[
https://issues.apache.org/jira/browse/OFBIZ-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15976183#comment-15976183 ]
Jacopo Cappellato commented on OFBIZ-9325:
------------------------------------------
Hi Wei,
the error was actually in the specific template, not in the framework. In fact the templates should not explicitly import HtmlTemplate.ftl since this, after my changes, is transparently done by the framework.
In my commit 1792018 I have fixed the screen by removing the import and by improving the prevNext macro; since the same issue was present in another screen, I have fixed that one too.
It would be great if you could test and confirm that the system works as you expect.
Jacopo
> 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 TO SHOPPING LIST button
> 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
(v6.3.15#6346)