[
https://issues.apache.org/jira/browse/OFBIZ-5690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235325#comment-14235325
]
Mohd Viqar commented on OFBIZ-5690:
-----------------------------------
This issue is still not fixed. I am getting the following error while placing
the order from backend.
Steps to reproduce. Create an order from backend. you should get an order
confirmation email . But it doesnt send any email.
Tested it on Trunk
2014-12-05 15:20:56,337 |OFBiz-JobQueue-1 |ServiceDispatcher
|W| Service Failure [sendOrderConfirmation]: No website attached to order;
cannot generate notification WSCO10020
Relevant requests once a backend user click create order on order confirm
screen are :
2014-12-05 15:20:37,222 |http-bio-8443-exec-7 |RequestHandler
|I| [RequestHandler]: Chain in place: requestUri=processpayment
overrideViewUri=null sessionId=991EF2D0ED326EF067EA8A689D63C68B.jvm1
2014-12-05 15:20:39,094 |http-bio-8443-exec-7 |RequestHandler
|I| [RequestHandler]: Chain in place: requestUri=clearcart overrideViewUri=null
sessionId=991EF2D0ED326EF067EA8A689D63C68B.jvm1
2014-12-05 15:20:39,096 |http-bio-8443-exec-7 |RequestHandler
|I| [RequestHandler]: Chain in place: requestUri=emailorder
overrideViewUri=null sessionId=991EF2D0ED326EF067EA8A689D63C68B.jvm1
2014-12-05 15:20:39,130 |http-bio-8443-exec-7 |RequestHandler
|I| Ran Event [service:async#sendOrderConfirmation] from [request], result is
[success]
2014-12-05 15:20:39,130 |http-bio-8443-exec-7 |RequestHandler
|I| Rendering View [ordercomplete],
sessionId=991EF2D0ED326EF067EA8A689D63C68B.jvm1
> Order confirmation and order order complete email notification issue from
> backend
> ---------------------------------------------------------------------------------
>
> Key: OFBIZ-5690
> URL: https://issues.apache.org/jira/browse/OFBIZ-5690
> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Trunk
> Reporter: Mohd Viqar
> Fix For: Release Branch 11.04, Upcoming Branch
>
> Attachments: OFBIZ-5690.patch
>
>
> Order Confirmation email notification and order complete notification is not
> sent When an order is created from backend i.e ordermgr app.
> Steps to reproduce :
> 1.Enable email notification in general.properties.
> 2. set mail redirect property to your preferred email id
> 1. Create a sales order from ordermgr component with demo customer as party
> Expected result :
> Should get a order confirmation mail
> On checking log got this error
> Service Failure [sendOrderConfirmation]: No website attached to order; cannot
> generate notification WSCO10100
> On checking the code I noticed that shopping cart website id is set from
> webapp's website id of web.xml. But when we create order from backend there
> is no websiteId parameter in web.xml for ordermgr app. In case of order from
> backend It should pick websiteId from the selected product store.
> P.S : Email notification works when an order is placed from ecommerce
> component
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)