/
Unexpected order owner change on Front-End

Unexpected order owner change on Front-End

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/2416952bd6aa4b13#

In one of a projects, I'm developing we have to create order approval
system on Front-End, which was accessible to a specific users only.

During implementation I've found a bug in OrdersEventHandler::CheckUser
method, that changed approved/denied order owner user to one, who was
performing approval/denial.

I believe that we shouldn't update order's owner automatically (to
logged-in user) in case if order status is not Incomplete.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com