'Create Product in Category' button cause exception
--------------------------------------------------- Key: OFBIZ-4408 URL: https://issues.apache.org/jira/browse/OFBIZ-4408 Project: OFBiz Issue Type: Bug Components: product Affects Versions: SVN trunk Reporter: Wai https://localhost:8443/catalog/control/EditCategory?productCategoryId=somwcategory for a given category. click on 'Create Product in Category' cause exception No signature of method makeCategoryFeatureLists matches (java.lang.Object,org.ofbiz.entity.GenericDelegator) The problematic instruction: ---------- ==> assignment: productFeaturesByTypeMap=Static["org.ofbiz.product.feature.ParametricSearch"].makeCategoryFeatureLists(productCategoryId, delegator) [on line 20, column 1 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: No signature of method makeCategoryFeatureLists matches (java.lang.Object,org.ofbiz.entity.GenericDelegator) at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:188) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:105) at ... Expression productFeaturesByTypeMap is undefined on line 33, column 20 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl. The problematic instruction: ---------- ==> list productFeaturesByTypeMap.keySet() as productFeatureTypeId [on line 33, column 13 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression productFeaturesByTypeMap is undefined on line 33, column 20 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-4408: -------------------------------------- Assignee: Jacques Le Roux > 'Create Product in Category' button cause exception > --------------------------------------------------- > > Key: OFBIZ-4408 > URL: https://issues.apache.org/jira/browse/OFBIZ-4408 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Wai > Assignee: Jacques Le Roux > > https://localhost:8443/catalog/control/EditCategory?productCategoryId=somwcategory for a given category. > click on 'Create Product in Category' cause exception > No signature of method makeCategoryFeatureLists matches (java.lang.Object,org.ofbiz.entity.GenericDelegator) The problematic instruction: ---------- ==> assignment: productFeaturesByTypeMap=Static["org.ofbiz.product.feature.ParametricSearch"].makeCategoryFeatureLists(productCategoryId, delegator) [on line 20, column 1 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: No signature of method makeCategoryFeatureLists matches (java.lang.Object,org.ofbiz.entity.GenericDelegator) at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:188) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:105) at > ... > Expression productFeaturesByTypeMap is undefined on line 33, column 20 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl. The problematic instruction: ---------- ==> list productFeaturesByTypeMap.keySet() as productFeatureTypeId [on line 33, column 13 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression productFeaturesByTypeMap is undefined on line 33, column 20 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4408. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Thanks for report Wai, Fixed in trunk r1172297, no backports needed > 'Create Product in Category' button cause exception > --------------------------------------------------- > > Key: OFBIZ-4408 > URL: https://issues.apache.org/jira/browse/OFBIZ-4408 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Wai > Assignee: Jacques Le Roux > Fix For: SVN trunk > > > https://localhost:8443/catalog/control/EditCategory?productCategoryId=somwcategory for a given category. > click on 'Create Product in Category' cause exception > No signature of method makeCategoryFeatureLists matches (java.lang.Object,org.ofbiz.entity.GenericDelegator) The problematic instruction: ---------- ==> assignment: productFeaturesByTypeMap=Static["org.ofbiz.product.feature.ParametricSearch"].makeCategoryFeatureLists(productCategoryId, delegator) [on line 20, column 1 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: No signature of method makeCategoryFeatureLists matches (java.lang.Object,org.ofbiz.entity.GenericDelegator) at freemarker.ext.beans.MethodMap.getMostSpecific(MethodMap.java:188) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:105) at > ... > Expression productFeaturesByTypeMap is undefined on line 33, column 20 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl. The problematic instruction: ---------- ==> list productFeaturesByTypeMap.keySet() as productFeatureTypeId [on line 33, column 13 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression productFeaturesByTypeMap is undefined on line 33, column 20 in component://product/webapp/catalog/category/createProductInCategoryStart.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |