sriavr / ebay-grp-4

Automatically exported from code.google.com/p/ebay-grp-4
0 stars 0 forks source link

Problem in updation of order by the seller #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Login to ebay as a buyer with proper balance
2. Buy a product.
3. Login now as the seller of that product.
4. Click on Sell -> View my sold products in header menu. 
5. Click on one of the order.
6. Select checkbox Make Status shipped

What is the expected output? What do you see instead?
In logs I found this 
update eBay.order set currentStatus = 'SHIPPED' where orderId = 1and 
(currentStatus<>'ORDER_CANCELLED' || currentStatus<>'DELIVERED')

clearly there is a whitespace missing after the order number near where orderId 
= 1<SPACE EXPECTED HERE>and

Even though error happened, the next page says, Status is successfully updated 
as shipped. Error handling should be done, the struts page should show an error 
message that the order update did not happen. 

Please check client side validations and error handling in your other pages 
too. 

@Debargha, Is this issue happening only in my system? Because I remember you 
had shown me a successful case yesterday. Please check again.

Original issue reported on code.google.com by sri...@gmail.com on 14 Apr 2013 at 10:16