Bigfish : billing address not updated

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

Bigfish : billing address not updated

Christophe Noel
Hello,

we are using Big Fish 1.11 on ofbiz 12.04.

during the checkout process, if we change the billing address on the first checkout page, changes doesn't seems to be taken in consideration, with the original address coming back on the "payment overview" page.

so we dug a little and found this :

in file : /hot-deploy/osafe/script/Event/CheckoutEvents.xml
lines : 796-803

       
        <session-to-field field="shoppingCart" session-name="shoppingCart"/>
        <if-compare operator="not-equals" value="null" field="shoppingCart">
            <call-object-method obj-field="shoppingCart" method-name="addContactMech">
                <string value="BILLING_LOCATION"/>
                <field field="addressPurposeContext.contactMechId"/>
            </call-object-method>
        </if-compare>

the <if-compare> statement never seems to be executed

if we switch to minilang v2 :

<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods-v2.xsd">

we can then use the following statement :

<if-compare operator="is-not-null" field="shoppingCart" value="null">

which seems to work fine.


So we have 2 questions :
- is there a way to correct the statement while staying minilang v1 compliant ?
- as we are using only 12.04, can we switch all xml files to minilang v2 without any side-effect ?

Thanks a lot for your help

Christophe Noël