[ https://issues.apache.org/jira/browse/OFBIZ-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594005#action_12594005 ]
Raj Saini commented on OFBIZ-1763: ---------------------------------- This is duplicate of https://issues.apache.org/jira/browse/OFBIZ-1533. There is a patch attached but it may not be optimal solution. > Checkout via login causes error in confirmation email send in ordermgr > ---------------------------------------------------------------------- > > Key: OFBIZ-1763 > URL: https://issues.apache.org/jira/browse/OFBIZ-1763 > Project: OFBiz > Issue Type: Bug > Affects Versions: Release Branch 4.0 > Environment: Unix-based os. Default tomcat instance, mysql db. > Reporter: Phillip Rhodes > > If one checks out of the store using a login (username, password), and an > administrator later uses the ordermgr to send a confirmation email, the email > that is generated is truncated due to the error on orderstatus.bsh. If one > uses anonymous checkout, this function works fine. > Here is the error in logs: > 2008-05-03 14:46:13,699 (TP-Processor5) [ > ?:? :WARN ] Warning: in orderstatus.bsh before getting order detail info: > role not found or user not logged in; partyId=[admin], userLoginId=[admin] > The email that is generated is as follows: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> > <title>Order Confirmation Notice</title> > <link rel="stylesheet" href="http://65.61.140.175/images/maincss.css" > type="text/css"/> > </head> > <body> > <div class="head1">Order Confirmation Notice</div> > <p>NOTE: This is a DEMO store-front. Orders placed here will NOT be billed, > and will NOT be fulfilled.</p> > <p class="tabletext"> > If you are not satisfied with your purchase or if your purchase arrives > damaged, please contact Calgon Consumer Products by calling 1-800-550-8789. > Thank you. > </p> > <div class="head1">Order not found with ID [WS10243], or not allowed to > view.</div> > </body> > </html> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.