Send mail notification from order when shipment sheduled
-------------------------------------------------------- Key: OFBIZ-974 URL: https://issues.apache.org/jira/browse/OFBIZ-974 Project: OFBiz (The Open for Business Project) Issue Type: New Feature Components: ecommerce Affects Versions: SVN trunk Environment: - Reporter: nicolas malin Priority: Minor Fix For: SVN trunk In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] nicolas malin updated OFBIZ-974: -------------------------------- Attachment: orderItemShipGroup.tar.bz2 New files > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz (The Open for Business Project) > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] nicolas malin updated OFBIZ-974: -------------------------------- Attachment: shipmentScheduled-ofbiz.patch Update ofbiz file > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz (The Open for Business Project) > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510878 ] Jacques Le Roux commented on OFBIZ-974: --------------------------------------- Nicolas, All, I really tried to make this works but I surrender. Here are some remarks : Please (re-)read http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices, and notably http://docs.ofbiz.org/display/OFBADMIN/Coding+Conventions Then don't forgot to put "{}" around while and for blocks and such. Also I find strange to put blanks after "(" and before ")". Please use last ASL2 headers, there is a convenient HEADERS file in OFBiz root fot that... Also I wonder if you have really tested this patch A <ProductStoreEmailSetting is missing in DemoProduct.xml I created this one <ProductStoreEmailSetting productStoreId="9000" emailType="PRDS_SHIP_SCHEDULE" bodyScreenLocation="component://order/widget/ordermgr/EmailOrderScreens.xml#ShipmentScheduleNotice" subject="OFBiz Demo - Scheduled Notification for Shipment ${shipment.shipmentId}" bccAddress="[hidden email]" fromAddress="[hidden email]"/> Your java replacing service sendShipmentScheduledNotification (there is already a simple-method service of the same name) implements service="orderNotificationInterface" but I'm not sure it should (I got a missing orderId parameters with it) In orderItemShipGroup.bsh there is a "*" at end of line 28 When I correct this I get another problem in line 42 because orderItemShipGroup is null. This is the case with my use case. And I'm not quite sure I use the right use case. sendShipmentScheduledNotification is trigerred by ECAs in secas_shipment.xml : createShipment and updateShipment which both depend of SHIPMENT_SCHEDULED status. This status is not reached when you Qhick Ship an order or when you use the "Pack Shipment For Ship Group" button in order view. So to reach it I created a "New Shipment For Ship Group" and set the status to scheduled. Note that I also tried with the existing sendShipmentScheduledNotification simple-method service. The 1st time I got a pb becausr I forgot to put a from party. After that I got also a pb in the sendGenericNotificationEmail because not email body seems available : java.lang.Exception: Service Error [sendGenericNotificationEmail]: Invalid email body; null is not allowed Please let me know if I'm missing something... BTW is anybody really using this service ? > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510880 ] Jacques Le Roux commented on OFBIZ-974: --------------------------------------- I commited the labels in trunk rev. 554177 > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-974: ------------------------------------- Assignee: Jacques Le Roux > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518260 ] Jacques Le Roux commented on OFBIZ-974: --------------------------------------- Nicolas, Without news from you soon I will close this issue > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518645 ] nicolas malin commented on OFBIZ-974: ------------------------------------- Scuse me jacques, I would finalise this use but actually I have so work :( . Do you give me one month to find the time for close this issue with a new patch ? > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518666 ] Jacques Le Roux commented on OFBIZ-974: --------------------------------------- No Problem Nicolas, Thanks for your answer. > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553949 ] Jacques Le Roux commented on OFBIZ-974: --------------------------------------- Hi Nicolas, Should I close this issue now ? > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-974. --------------------------------- Resolution: Later > Send mail notification from order when shipment sheduled > -------------------------------------------------------- > > Key: OFBIZ-974 > URL: https://issues.apache.org/jira/browse/OFBIZ-974 > Project: OFBiz > Issue Type: New Feature > Components: ecommerce > Affects Versions: SVN trunk > Environment: - > Reporter: nicolas malin > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: orderItemShipGroup.tar.bz2, shipmentScheduled-ofbiz.patch > > > In ofbiz when a shipment scheduled, the actual service send email notification directly by information pass to service. > I extend (and replace) actual service to use productStore email system. When a shipment scheduled, all orders associate to it send an notification email for informe customer how many product quantity send. -- 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 |