Possible error in signature of saveUpdatedCartToOrder in OrderServices

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Possible error in signature of saveUpdatedCartToOrder in OrderServices

Cimballi
Hi,

I think there is an error in the signature of the
saveUpdatedCartToOrder method in the OrderServices class.

Here is the signature :
public static Map saveUpdatedCartToOrder(DispatchContext dctx, Map
context) throws GeneralException

But there is a try-catch bloc in the method for the GeneralException exception.

So the signature could be :
public static Map saveUpdatedCartToOrder(DispatchContext dctx, Map context)

Cimballi