Hello all,
Just had a clean build of ofbiz svn6093, found some bugs 1, at partymrg, viewprofile, when I want to update a party's contact information (address and email), I get this message org.ofbiz.base.util.GeneralException: Error rendering screen [editcontactmech]: org.ofbiz.base.util.GeneralException: Error rendering screen [main-decorator]: java.lang.RuntimeException: Error rendering included template at location [component://party/webapp/partymgr/party/editcontactmech.ftl]: freemarker.core.InvalidReferenceException: Expression partyId is undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering included template at location [component://party/webapp/partymgr/party/editcontactmech.ftl]: freemarker.core.InvalidReferenceException: Expression partyId is undefined on line 99, column 62 in editcontactmech.ftl.) (Error rendering screen [main-decorator]: java.lang.RuntimeException: Error rendering included template at location [component://party/webapp/partymgr/party/editcontactmech.ftl]: freemarker.core.InvalidReferenceException: Expression partyId is undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering included template at location [component://party/webapp/partymgr/party/editcontactmech.ftl]: freemarker.core.InvalidReferenceException: Expression partyId is undefined on line 99, column 62 in editcontactmech.ftl.)) 2. after created a qoute, if I click on "CommonReport", which I should get a pdf file, but had this message org.ofbiz.base.util.GeneralException: Error rendering screen [QuoteReport]: java.lang.RuntimeException: Error rendering included template at location [component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: freemarker.core.InvalidReferenceException: Expression toPostalAddress is undefined on line 99, column 60 in QuoteReport.fo.ftl. (Error rendering included template at location [component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: freemarker.core.InvalidReferenceException: Expression toPostalAddress is undefined on line 99, column 60 in QuoteReport.fo.ftl.) 3. when adding a new quote item to quote, select productID will open a "Lookup product and price" window, but I can never get any product show up. Hao _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Hi Hao,
please see my comments inline: Hao Jiang wrote: > Hello all, > > Just had a clean build of ofbiz svn6093, found some bugs > > 1, at partymrg, viewprofile, when I want to update a party's contact > information (address and email), I get this message > > org.ofbiz.base.util.GeneralException: Error rendering screen > [editcontactmech]: org.ofbiz.base.util.GeneralException: Error rendering > screen [main-decorator]: java.lang.RuntimeException: Error rendering > included template at location > [component://party/webapp/partymgr/party/editcontactmech.ftl]: > freemarker.core.InvalidReferenceException: Expression partyId is > undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering > included template at location > [component://party/webapp/partymgr/party/editcontactmech.ftl]: > freemarker.core.InvalidReferenceException: Expression partyId is > undefined on line 99, column 62 in editcontactmech.ftl.) (Error > rendering screen [main-decorator]: java.lang.RuntimeException: Error > rendering included template at location > [component://party/webapp/partymgr/party/editcontactmech.ftl]: > freemarker.core.InvalidReferenceException: Expression partyId is > undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering > included template at location > [component://party/webapp/partymgr/party/editcontactmech.ftl]: > freemarker.core.InvalidReferenceException: Expression partyId is > undefined on line 99, column 62 in editcontactmech.ftl.)) > > > 2. after created a qoute, if I click on "CommonReport", which I should > get a pdf file, but had this message > > org.ofbiz.base.util.GeneralException: Error rendering screen > [QuoteReport]: java.lang.RuntimeException: Error rendering included > template at location > [component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: > freemarker.core.InvalidReferenceException: Expression toPostalAddress is > undefined on line 99, column 60 in QuoteReport.fo.ftl. (Error rendering > included template at location > [component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: > freemarker.core.InvalidReferenceException: Expression toPostalAddress is > undefined on line 99, column 60 in QuoteReport.fo.ftl.) > This is now fixed in rev. 6097; thanks for the bug report. > 3. when adding a new quote item to quote, select productID will open a > "Lookup product and price" window, but I can never get any product show > up. > Be sure to select the proper values for: currency, price type and purpose. If you are using the demo data you can select: USD, List price, Purchase/initial. These values are stored in the EditProduct-->Product Prices tab. Jacopo > Hao > > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Thanks Jacopo, one more thing, when I try to send quote by email, I get
this message The Following Errors Occurred: * No valid email setting for store with productStoreId=9000 and emailType=PRDS_QUO_CONFIRM I'm sure that I entered a valid email address, what does the above message mean? Hao On Wed, 2005-11-09 at 07:49 +0100, Jacopo Cappellato wrote: > Hi Hao, > > please see my comments inline: > > > Hao Jiang wrote: > > Hello all, > > > > Just had a clean build of ofbiz svn6093, found some bugs > > > > 1, at partymrg, viewprofile, when I want to update a party's contact > > information (address and email), I get this message > > > > org.ofbiz.base.util.GeneralException: Error rendering screen > > [editcontactmech]: org.ofbiz.base.util.GeneralException: Error rendering > > screen [main-decorator]: java.lang.RuntimeException: Error rendering > > included template at location > > [component://party/webapp/partymgr/party/editcontactmech.ftl]: > > freemarker.core.InvalidReferenceException: Expression partyId is > > undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering > > included template at location > > [component://party/webapp/partymgr/party/editcontactmech.ftl]: > > freemarker.core.InvalidReferenceException: Expression partyId is > > undefined on line 99, column 62 in editcontactmech.ftl.) (Error > > rendering screen [main-decorator]: java.lang.RuntimeException: Error > > rendering included template at location > > [component://party/webapp/partymgr/party/editcontactmech.ftl]: > > freemarker.core.InvalidReferenceException: Expression partyId is > > undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering > > included template at location > > [component://party/webapp/partymgr/party/editcontactmech.ftl]: > > freemarker.core.InvalidReferenceException: Expression partyId is > > undefined on line 99, column 62 in editcontactmech.ftl.)) > > > > > > 2. after created a qoute, if I click on "CommonReport", which I should > > get a pdf file, but had this message > > > > org.ofbiz.base.util.GeneralException: Error rendering screen > > [QuoteReport]: java.lang.RuntimeException: Error rendering included > > template at location > > [component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: > > freemarker.core.InvalidReferenceException: Expression toPostalAddress is > > undefined on line 99, column 60 in QuoteReport.fo.ftl. (Error rendering > > included template at location > > [component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: > > freemarker.core.InvalidReferenceException: Expression toPostalAddress is > > undefined on line 99, column 60 in QuoteReport.fo.ftl.) > > > > This is now fixed in rev. 6097; thanks for the bug report. > > > 3. when adding a new quote item to quote, select productID will open a > > "Lookup product and price" window, but I can never get any product show > > up. > > > > Be sure to select the proper values for: currency, price type and purpose. > If you are using the demo data you can select: USD, List price, > Purchase/initial. > These values are stored in the EditProduct-->Product Prices tab. > > Jacopo > > > Hao > > > > > > > > _______________________________________________ > > Users mailing list > > [hidden email] > > http://lists.ofbiz.org/mailman/listinfo/users > > > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Hao,
have you loaded the example data? It seems that the following entry is missing from the ProductStoreEmailSetting entity: <ProductStoreEmailSetting productStoreId="9000" emailType="PRDS_QUO_CONFIRM" bodyScreenLocation="component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple" xslfoAttachScreenLocation="component://order/widget/ordermgr/QuoteScreens.xml#QuoteReport" subject="OFBiz Demo - Quote Confirmation #${quoteId}" bccAddress="[hidden email]" fromAddress="[hidden email]"/> You can load it using the XML Import tool in Webtools or you can create it in the Catalog-->Product Store-->Email. Jacopo Hao Jiang wrote: > Thanks Jacopo, one more thing, when I try to send quote by email, I get > this message > > > > The Following Errors Occurred: > > * No valid email setting for store with productStoreId=9000 and > emailType=PRDS_QUO_CONFIRM > > > I'm sure that I entered a valid email address, what does the above > message mean? > > Hao > > > > On Wed, 2005-11-09 at 07:49 +0100, Jacopo Cappellato wrote: > >>Hi Hao, >> >>please see my comments inline: >> >> >>Hao Jiang wrote: >> >>>Hello all, >>> >>>Just had a clean build of ofbiz svn6093, found some bugs >>> >>>1, at partymrg, viewprofile, when I want to update a party's contact >>>information (address and email), I get this message >>> >>>org.ofbiz.base.util.GeneralException: Error rendering screen >>>[editcontactmech]: org.ofbiz.base.util.GeneralException: Error rendering >>>screen [main-decorator]: java.lang.RuntimeException: Error rendering >>>included template at location >>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: >>>freemarker.core.InvalidReferenceException: Expression partyId is >>>undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering >>>included template at location >>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: >>>freemarker.core.InvalidReferenceException: Expression partyId is >>>undefined on line 99, column 62 in editcontactmech.ftl.) (Error >>>rendering screen [main-decorator]: java.lang.RuntimeException: Error >>>rendering included template at location >>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: >>>freemarker.core.InvalidReferenceException: Expression partyId is >>>undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering >>>included template at location >>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: >>>freemarker.core.InvalidReferenceException: Expression partyId is >>>undefined on line 99, column 62 in editcontactmech.ftl.)) >>> >>> >>>2. after created a qoute, if I click on "CommonReport", which I should >>>get a pdf file, but had this message >>> >>>org.ofbiz.base.util.GeneralException: Error rendering screen >>>[QuoteReport]: java.lang.RuntimeException: Error rendering included >>>template at location >>>[component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: >>>freemarker.core.InvalidReferenceException: Expression toPostalAddress is >>>undefined on line 99, column 60 in QuoteReport.fo.ftl. (Error rendering >>>included template at location >>>[component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: >>>freemarker.core.InvalidReferenceException: Expression toPostalAddress is >>>undefined on line 99, column 60 in QuoteReport.fo.ftl.) >>> >> >>This is now fixed in rev. 6097; thanks for the bug report. >> >> >>>3. when adding a new quote item to quote, select productID will open a >>>"Lookup product and price" window, but I can never get any product show >>>up. >>> >> >>Be sure to select the proper values for: currency, price type and purpose. >>If you are using the demo data you can select: USD, List price, >>Purchase/initial. >>These values are stored in the EditProduct-->Product Prices tab. >> >>Jacopo >> >> >>>Hao >>> >>> >>> >>>_______________________________________________ >>>Users mailing list >>>[hidden email] >>>http://lists.ofbiz.org/mailman/listinfo/users >>> >> >> >>_______________________________________________ >>Users mailing list >>[hidden email] >>http://lists.ofbiz.org/mailman/listinfo/users >> > > > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Thanks, I tried to create such email address at store->email setting,
but it returned a bunch of errors. I'll try to reload seed data. Hao On Wed, 2005-11-09 at 18:14 +0100, Jacopo Cappellato wrote: > Hao, > > have you loaded the example data? > It seems that the following entry is missing from the > ProductStoreEmailSetting entity: > > <ProductStoreEmailSetting productStoreId="9000" > emailType="PRDS_QUO_CONFIRM" > bodyScreenLocation="component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple" > xslfoAttachScreenLocation="component://order/widget/ordermgr/QuoteScreens.xml#QuoteReport" > subject="OFBiz Demo - Quote Confirmation #${quoteId}" > bccAddress="[hidden email]" fromAddress="[hidden email]"/> > > You can load it using the XML Import tool in Webtools or you can create > it in the Catalog-->Product Store-->Email. > > Jacopo > > > Hao Jiang wrote: > > Thanks Jacopo, one more thing, when I try to send quote by email, I get > > this message > > > > > > > > The Following Errors Occurred: > > > > * No valid email setting for store with productStoreId=9000 and > > emailType=PRDS_QUO_CONFIRM > > > > > > I'm sure that I entered a valid email address, what does the above > > message mean? > > > > Hao > > > > > > > > On Wed, 2005-11-09 at 07:49 +0100, Jacopo Cappellato wrote: > > > >>Hi Hao, > >> > >>please see my comments inline: > >> > >> > >>Hao Jiang wrote: > >> > >>>Hello all, > >>> > >>>Just had a clean build of ofbiz svn6093, found some bugs > >>> > >>>1, at partymrg, viewprofile, when I want to update a party's contact > >>>information (address and email), I get this message > >>> > >>>org.ofbiz.base.util.GeneralException: Error rendering screen > >>>[editcontactmech]: org.ofbiz.base.util.GeneralException: Error rendering > >>>screen [main-decorator]: java.lang.RuntimeException: Error rendering > >>>included template at location > >>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: > >>>freemarker.core.InvalidReferenceException: Expression partyId is > >>>undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering > >>>included template at location > >>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: > >>>freemarker.core.InvalidReferenceException: Expression partyId is > >>>undefined on line 99, column 62 in editcontactmech.ftl.) (Error > >>>rendering screen [main-decorator]: java.lang.RuntimeException: Error > >>>rendering included template at location > >>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: > >>>freemarker.core.InvalidReferenceException: Expression partyId is > >>>undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering > >>>included template at location > >>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: > >>>freemarker.core.InvalidReferenceException: Expression partyId is > >>>undefined on line 99, column 62 in editcontactmech.ftl.)) > >>> > >>> > >>>2. after created a qoute, if I click on "CommonReport", which I should > >>>get a pdf file, but had this message > >>> > >>>org.ofbiz.base.util.GeneralException: Error rendering screen > >>>[QuoteReport]: java.lang.RuntimeException: Error rendering included > >>>template at location > >>>[component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: > >>>freemarker.core.InvalidReferenceException: Expression toPostalAddress is > >>>undefined on line 99, column 60 in QuoteReport.fo.ftl. (Error rendering > >>>included template at location > >>>[component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: > >>>freemarker.core.InvalidReferenceException: Expression toPostalAddress is > >>>undefined on line 99, column 60 in QuoteReport.fo.ftl.) > >>> > >> > >>This is now fixed in rev. 6097; thanks for the bug report. > >> > >> > >>>3. when adding a new quote item to quote, select productID will open a > >>>"Lookup product and price" window, but I can never get any product show > >>>up. > >>> > >> > >>Be sure to select the proper values for: currency, price type and purpose. > >>If you are using the demo data you can select: USD, List price, > >>Purchase/initial. > >>These values are stored in the EditProduct-->Product Prices tab. > >> > >>Jacopo > >> > >> > >>>Hao > >>> > >>> > >>> > >>>_______________________________________________ > >>>Users mailing list > >>>[hidden email] > >>>http://lists.ofbiz.org/mailman/listinfo/users > >>> > >> > >> > >>_______________________________________________ > >>Users mailing list > >>[hidden email] > >>http://lists.ofbiz.org/mailman/listinfo/users > >> > > > > > > > > > > _______________________________________________ > > Users mailing list > > [hidden email] > > http://lists.ofbiz.org/mailman/listinfo/users > > > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Hao,
ok, so your problem is caused by the fact that your seed data are not loaded correctly; reloading seed data should fix the issue. Or you can simply import the following two records: <Enumeration description="Quote Confirmation" enumCode="QUO_CONFIRM" enumId="PRDS_QUO_CONFIRM" enumTypeId="PRDS_EMAIL" sequenceId="14"/> <ProductStoreEmailSetting productStoreId="9000" emailType="PRDS_QUO_CONFIRM" bodyScreenLocation="component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple" xslfoAttachScreenLocation="component://order/widget/ordermgr/QuoteScreens.xml#QuoteReport" subject="OFBiz Demo - Quote Confirmation #${quoteId}" bccAddress="[hidden email]" fromAddress="[hidden email]"/> Jacopo Hao Jiang wrote: > Thanks, I tried to create such email address at store->email setting, > but it returned a bunch of errors. > > I'll try to reload seed data. > > Hao > > On Wed, 2005-11-09 at 18:14 +0100, Jacopo Cappellato wrote: > >>Hao, >> >>have you loaded the example data? >>It seems that the following entry is missing from the >>ProductStoreEmailSetting entity: >> >><ProductStoreEmailSetting productStoreId="9000" >>emailType="PRDS_QUO_CONFIRM" >>bodyScreenLocation="component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple" >>xslfoAttachScreenLocation="component://order/widget/ordermgr/QuoteScreens.xml#QuoteReport" >>subject="OFBiz Demo - Quote Confirmation #${quoteId}" >>bccAddress="[hidden email]" fromAddress="[hidden email]"/> >> >>You can load it using the XML Import tool in Webtools or you can create >>it in the Catalog-->Product Store-->Email. >> >>Jacopo >> >> >>Hao Jiang wrote: >> >>>Thanks Jacopo, one more thing, when I try to send quote by email, I get >>>this message >>> >>> >>> >>>The Following Errors Occurred: >>> >>> * No valid email setting for store with productStoreId=9000 and >>> emailType=PRDS_QUO_CONFIRM >>> >>> >>>I'm sure that I entered a valid email address, what does the above >>>message mean? >>> >>>Hao >>> >>> >>> >>>On Wed, 2005-11-09 at 07:49 +0100, Jacopo Cappellato wrote: >>> >>> >>>>Hi Hao, >>>> >>>>please see my comments inline: >>>> >>>> >>>>Hao Jiang wrote: >>>> >>>> >>>>>Hello all, >>>>> >>>>>Just had a clean build of ofbiz svn6093, found some bugs >>>>> >>>>>1, at partymrg, viewprofile, when I want to update a party's contact >>>>>information (address and email), I get this message >>>>> >>>>>org.ofbiz.base.util.GeneralException: Error rendering screen >>>>>[editcontactmech]: org.ofbiz.base.util.GeneralException: Error rendering >>>>>screen [main-decorator]: java.lang.RuntimeException: Error rendering >>>>>included template at location >>>>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: >>>>>freemarker.core.InvalidReferenceException: Expression partyId is >>>>>undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering >>>>>included template at location >>>>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: >>>>>freemarker.core.InvalidReferenceException: Expression partyId is >>>>>undefined on line 99, column 62 in editcontactmech.ftl.) (Error >>>>>rendering screen [main-decorator]: java.lang.RuntimeException: Error >>>>>rendering included template at location >>>>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: >>>>>freemarker.core.InvalidReferenceException: Expression partyId is >>>>>undefined on line 99, column 62 in editcontactmech.ftl. (Error rendering >>>>>included template at location >>>>>[component://party/webapp/partymgr/party/editcontactmech.ftl]: >>>>>freemarker.core.InvalidReferenceException: Expression partyId is >>>>>undefined on line 99, column 62 in editcontactmech.ftl.)) >>>>> >>>>> >>>>>2. after created a qoute, if I click on "CommonReport", which I should >>>>>get a pdf file, but had this message >>>>> >>>>>org.ofbiz.base.util.GeneralException: Error rendering screen >>>>>[QuoteReport]: java.lang.RuntimeException: Error rendering included >>>>>template at location >>>>>[component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: >>>>>freemarker.core.InvalidReferenceException: Expression toPostalAddress is >>>>>undefined on line 99, column 60 in QuoteReport.fo.ftl. (Error rendering >>>>>included template at location >>>>>[component://order/webapp/ordermgr/quote/QuoteReport.fo.ftl]: >>>>>freemarker.core.InvalidReferenceException: Expression toPostalAddress is >>>>>undefined on line 99, column 60 in QuoteReport.fo.ftl.) >>>>> >>>> >>>>This is now fixed in rev. 6097; thanks for the bug report. >>>> >>>> >>>> >>>>>3. when adding a new quote item to quote, select productID will open a >>>>>"Lookup product and price" window, but I can never get any product show >>>>>up. >>>>> >>>> >>>>Be sure to select the proper values for: currency, price type and purpose. >>>>If you are using the demo data you can select: USD, List price, >>>>Purchase/initial. >>>>These values are stored in the EditProduct-->Product Prices tab. >>>> >>>>Jacopo >>>> >>>> >>>> >>>>>Hao >>>>> >>>>> >>>>> >>>>>_______________________________________________ >>>>>Users mailing list >>>>>[hidden email] >>>>>http://lists.ofbiz.org/mailman/listinfo/users >>>>> >>>> >>>> >>>>_______________________________________________ >>>>Users mailing list >>>>[hidden email] >>>>http://lists.ofbiz.org/mailman/listinfo/users >>>> >>> >>> >>> >>> >>>_______________________________________________ >>>Users mailing list >>>[hidden email] >>>http://lists.ofbiz.org/mailman/listinfo/users >>> >> >> >>_______________________________________________ >>Users mailing list >>[hidden email] >>http://lists.ofbiz.org/mailman/listinfo/users >> > > > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |