[ 
http://issues.apache.org/jira/browse/OFBIZ-284?page=comments#action_12434739 ] 
            
Si Chen commented on OFBIZ-284:
-------------------------------

So there should be something which checks if the order is indeed found and if 
not, do a 
request.setAttribute("_ERROR_MESSAGE_", "Order " + orderId + " not found!");
return;

in the bsh.

> Runtime BSH error when searching orders with just order number
> --------------------------------------------------------------
>
>                 Key: OFBIZ-284
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-284
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: Windows XP
> Java 1.5
>            Reporter: John Martin
>         Assigned To: Si Chen
>         Attachments: diff.txt
>
>
> Using the Find Order and only searching on Order Number, the orderview.bsh 
> script fails due to the partyId variable not be assigned at line 370.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to