Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5690

Order confirmation and order order complete email notification issue from backend

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 14.12.01, 13.07.01
    • order
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mhdwaqar Mohd Viqar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment