You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2024/04/17 16:11:00 UTC

[jira] [Closed] (OFBIZ-13016) Errors in EditProductFeatures.ftl

     [ https://issues.apache.org/jira/browse/OFBIZ-13016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-13016.
-----------------------------------
    Resolution: Fixed

> Errors in EditProductFeatures.ftl
> ---------------------------------
>
>                 Key: OFBIZ-13016
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13016
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product/catalog
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: Upcoming Branch
>
>
> freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
> ==> product.isVirtual  [in template "component://product/template/product/EditProductFeatures.ftl" at line 136, column 77]
> ----
> Tip: It's the step after the last dot that caused this error, not those before it.
> ----
> 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>. (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: #if (productFeatureApplType.productFe...  [in template "component://product/template/product/EditProductFeatures.ftl" at line 136, column 5]
> ----



--
This message was sent by Atlassian Jira
(v8.20.10#820010)