[
https://issues.apache.org/jira/browse/OFBIZ-11127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pawan Verma closed OFBIZ-11127.
-------------------------------
Thanks, [~amit.gadaley] for your contribution.
> Code improvement in ShoppingCartEvents.java
> -------------------------------------------
>
> Key: OFBIZ-11127
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11127> Project: OFBiz
> Issue Type: Improvement
> Components: order
> Affects Versions: Trunk
> Reporter: Amit Gadaley
> Assignee: Pawan Verma
> Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-11127.patch
>
>
> Method 'getCartObject' and 'destroyCart'of ShoppingCartEvents class accessed incorrectly at some places in ShoppingCartEvents class.
> It should be called by following below syntax:
> getCartObject(parameters);
> destroyCart(request, response);
>
> But, at some places, it is called incorrectly like this:
> ShoppingCartEvents.getCartObject(parameters)
> ShoppingCartEvents.destroyCart(request, response);
>
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)