[ 
https://issues.apache.org/jira/browse/OFBIZ-3888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898078#action_12898078
 ] 

Brent Dykgraaf commented on OFBIZ-3888:
---------------------------------------

Figured it out. checkoutoptions has save-last-view

<request-map uri="checkoutoptions">
      <security https="true" auth="true"/>
      <event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" 
invoke="setCheckOutPages"/>
      <response name="shippingaddress" type="view" 
value="checkoutshippingaddress" save-current-view="true"/>

additem has view-last. 
    <request-map uri="additem">
        <security https="false" auth="false"/>
        <event type="java" 
path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addToCart"/>
        <response name="success" type="view-last" value="showcart"/>

Setting save-last-view = false gets my desired behaviour.

> After visiting checkoutreview addcart does not work
> ---------------------------------------------------
>
>                 Key: OFBIZ-3888
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3888
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Release Branch 10.04
>         Environment: Demo Server
>            Reporter: Brent Dykgraaf
>
> I have reproduced on the demo server. 
> - add a few items to the cart
> - proceed to checkout, go through the three screens to the checkoutreview 
> screen.
> - click on main to get out of it and try to add another item.
> - screen directs to one of the checkout screens. Add cart no longer works.
> I may be able to fix if someone can give me some pointers were to look.

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

Reply via email to