You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Raj Saini (JIRA)" <ji...@apache.org> on 2007/12/19 05:23:43 UTC

[jira] Updated: (OFBIZ-1533) Order Lookup fails with "Order not found with ID [XXXXX], or not allowed to view" message while sending email confirmation from order manager

     [ https://issues.apache.org/jira/browse/OFBIZ-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raj Saini updated OFBIZ-1533:
-----------------------------

    Attachment: orderstatus.bsh-trunk.patch

Attached patch resolves the problem in trunk. Branch code is different than trunk and will need a separate patch

Order lookup was failed due to the reason that partyId passed for orderRole lookup was of the logged in user (order admin) and not the placing customer or supplier/supplier agent as it is taken from the userLogin entity and not from the context.

> Order Lookup fails with "Order not found with ID [XXXXX], or not allowed to view" message while sending email confirmation from order manager
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1533
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1533
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk, Release Branch 4.0
>         Environment: Ubuntu 7.10
>            Reporter: Raj Saini
>            Priority: Minor
>         Attachments: orderstatus.bsh-trunk.patch
>
>
> order lookup fails and following messages, while sending email confirmation from the order manager for orders created through the e-commerce or the order entry.
> "Order not found with ID [XXXXX], or not allowed to view"  where [XXXXX] is the order id.
> How to reproduce:
> 1. Create an order form e-commerce by logging in (as registered user).
> 2. Goto the order manager and login with FULLADMIN or ORDERADMIN security group permission.
> 3. Lookup the newly created order.
> 4. Click on the send confirmation button in the top right area of the order screen.
> 5. It will open up a window with the email text. Email text shows the above message instead of actual order confirmation html.
> 6. You can repeat the above by creating an order from Order Entry as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.