Wrong invocation of the ProductContentWrapper.getProductContentAsText method due to 516158 revision
--------------------------------------------------------------------------------------------------- Key: OFBIZ-820 URL: https://issues.apache.org/jira/browse/OFBIZ-820 Project: OFBiz (The Open for Business Project) Issue Type: Bug Components: content, order Reporter: Rashko Rejmer Attachments: showcartitems.patch Due to revision 516158 - "refactored renderContentAsText to invoke content services when called", there is wrong invocation of the ProductContentWrapper.getProductContentAsText(GenericValue, String, Locale, LocalDispatcher) method in the applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl file If we want to add a product to the cart while creating order we got an error: No signature of method getProductContentAsText matches (org.ofbiz.entity.GenericValue,java.lang.String,java.util.Locale) The problematic instruction: ---------- ==> assignment: alternativeOptionName=Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale)?if_exists [on line 204, column 21 in showcartitems.ftl]...... The patch fixes that problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rashko Rejmer updated OFBIZ-820: -------------------------------- Attachment: showcartitems.patch > Wrong invocation of the ProductContentWrapper.getProductContentAsText method due to 516158 revision > --------------------------------------------------------------------------------------------------- > > Key: OFBIZ-820 > URL: https://issues.apache.org/jira/browse/OFBIZ-820 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content, order > Reporter: Rashko Rejmer > Attachments: showcartitems.patch > > > Due to revision 516158 - "refactored renderContentAsText to invoke content services when called", there is wrong invocation of the ProductContentWrapper.getProductContentAsText(GenericValue, String, Locale, LocalDispatcher) method in the applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl file > If we want to add a product to the cart while creating order we got an error: > No signature of method getProductContentAsText matches (org.ofbiz.entity.GenericValue,java.lang.String,java.util.Locale) The problematic instruction: ---------- ==> assignment: alternativeOptionName=Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale)?if_exists [on line 204, column 21 in showcartitems.ftl]...... > The patch fixes that problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Si Chen reassigned OFBIZ-820: ----------------------------- Assignee: Si Chen > Wrong invocation of the ProductContentWrapper.getProductContentAsText method due to 516158 revision > --------------------------------------------------------------------------------------------------- > > Key: OFBIZ-820 > URL: https://issues.apache.org/jira/browse/OFBIZ-820 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content, order > Reporter: Rashko Rejmer > Assigned To: Si Chen > Attachments: showcartitems.patch > > > Due to revision 516158 - "refactored renderContentAsText to invoke content services when called", there is wrong invocation of the ProductContentWrapper.getProductContentAsText(GenericValue, String, Locale, LocalDispatcher) method in the applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl file > If we want to add a product to the cart while creating order we got an error: > No signature of method getProductContentAsText matches (org.ofbiz.entity.GenericValue,java.lang.String,java.util.Locale) The problematic instruction: ---------- ==> assignment: alternativeOptionName=Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale)?if_exists [on line 204, column 21 in showcartitems.ftl]...... > The patch fixes that problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Si Chen closed OFBIZ-820. ------------------------- Resolution: Fixed Thanks, fixed in SVN r 518800 > Wrong invocation of the ProductContentWrapper.getProductContentAsText method due to 516158 revision > --------------------------------------------------------------------------------------------------- > > Key: OFBIZ-820 > URL: https://issues.apache.org/jira/browse/OFBIZ-820 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content, order > Reporter: Rashko Rejmer > Assigned To: Si Chen > Attachments: showcartitems.patch > > > Due to revision 516158 - "refactored renderContentAsText to invoke content services when called", there is wrong invocation of the ProductContentWrapper.getProductContentAsText(GenericValue, String, Locale, LocalDispatcher) method in the applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl file > If we want to add a product to the cart while creating order we got an error: > No signature of method getProductContentAsText matches (org.ofbiz.entity.GenericValue,java.lang.String,java.util.Locale) The problematic instruction: ---------- ==> assignment: alternativeOptionName=Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale)?if_exists [on line 204, column 21 in showcartitems.ftl]...... > The patch fixes that problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rashko Rejmer reopened OFBIZ-820: --------------------------------- I found two more files that have the same problem. > Wrong invocation of the ProductContentWrapper.getProductContentAsText method due to 516158 revision > --------------------------------------------------------------------------------------------------- > > Key: OFBIZ-820 > URL: https://issues.apache.org/jira/browse/OFBIZ-820 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content, order > Reporter: Rashko Rejmer > Assigned To: Si Chen > Attachments: showcartitems.patch > > > Due to revision 516158 - "refactored renderContentAsText to invoke content services when called", there is wrong invocation of the ProductContentWrapper.getProductContentAsText(GenericValue, String, Locale, LocalDispatcher) method in the applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl file > If we want to add a product to the cart while creating order we got an error: > No signature of method getProductContentAsText matches (org.ofbiz.entity.GenericValue,java.lang.String,java.util.Locale) The problematic instruction: ---------- ==> assignment: alternativeOptionName=Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale)?if_exists [on line 204, column 21 in showcartitems.ftl]...... > The patch fixes that problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rashko Rejmer updated OFBIZ-820: -------------------------------- Attachment: showcartitems2.patch the files are from ecommerce app: - applications/ecommerce/webapp/ecommerce/cart/showcart.ftl - applications/ecommerce/webapp/ecommerce/order/splitship.ftl > Wrong invocation of the ProductContentWrapper.getProductContentAsText method due to 516158 revision > --------------------------------------------------------------------------------------------------- > > Key: OFBIZ-820 > URL: https://issues.apache.org/jira/browse/OFBIZ-820 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content, order > Reporter: Rashko Rejmer > Assigned To: Si Chen > Attachments: showcartitems.patch, showcartitems2.patch > > > Due to revision 516158 - "refactored renderContentAsText to invoke content services when called", there is wrong invocation of the ProductContentWrapper.getProductContentAsText(GenericValue, String, Locale, LocalDispatcher) method in the applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl file > If we want to add a product to the cart while creating order we got an error: > No signature of method getProductContentAsText matches (org.ofbiz.entity.GenericValue,java.lang.String,java.util.Locale) The problematic instruction: ---------- ==> assignment: alternativeOptionName=Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale)?if_exists [on line 204, column 21 in showcartitems.ftl]...... > The patch fixes that problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-820: ------------------------------------- Assignee: Jacques Le Roux (was: Si Chen) > Wrong invocation of the ProductContentWrapper.getProductContentAsText method due to 516158 revision > --------------------------------------------------------------------------------------------------- > > Key: OFBIZ-820 > URL: https://issues.apache.org/jira/browse/OFBIZ-820 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content, order > Reporter: Rashko Rejmer > Assigned To: Jacques Le Roux > Attachments: showcartitems.patch, showcartitems2.patch > > > Due to revision 516158 - "refactored renderContentAsText to invoke content services when called", there is wrong invocation of the ProductContentWrapper.getProductContentAsText(GenericValue, String, Locale, LocalDispatcher) method in the applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl file > If we want to add a product to the cart while creating order we got an error: > No signature of method getProductContentAsText matches (org.ofbiz.entity.GenericValue,java.lang.String,java.util.Locale) The problematic instruction: ---------- ==> assignment: alternativeOptionName=Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale)?if_exists [on line 204, column 21 in showcartitems.ftl]...... > The patch fixes that problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-820. --------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Thanks Rashko, Your last patch is in OFBiz rev. 518937. I checked there are no more any other similar problems. > Wrong invocation of the ProductContentWrapper.getProductContentAsText method due to 516158 revision > --------------------------------------------------------------------------------------------------- > > Key: OFBIZ-820 > URL: https://issues.apache.org/jira/browse/OFBIZ-820 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content, order > Reporter: Rashko Rejmer > Assigned To: Jacques Le Roux > Fix For: SVN trunk > > Attachments: showcartitems.patch, showcartitems2.patch > > > Due to revision 516158 - "refactored renderContentAsText to invoke content services when called", there is wrong invocation of the ProductContentWrapper.getProductContentAsText(GenericValue, String, Locale, LocalDispatcher) method in the applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl file > If we want to add a product to the cart while creating order we got an error: > No signature of method getProductContentAsText matches (org.ofbiz.entity.GenericValue,java.lang.String,java.util.Locale) The problematic instruction: ---------- ==> assignment: alternativeOptionName=Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale)?if_exists [on line 204, column 21 in showcartitems.ftl]...... > The patch fixes that problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |