Problem:
The method "createUpdateBillingAddressAndPaymentMethod" in CheckoutServices.xml refers to a "billToCardSecurityCode" parameter, which is not existing.
Instead OnePageCheckoutProcess.ftl defines this field with id="CVV2" and name="cardSecurityCode".
Solution:
1. Change the "id" and "name" in OnePageCheckoutProcess.ftl to meet the attribute name of "createUpdateBillingAddressAndPaymentMethod".
2. Extend the attribute mapping line in CheckoutServices.xml so that in case the CVV2 is not entered by the user, the field is defined anyway. (otherwise groovy.lang.MissingPropertyException is still thrown as the field is always accessed)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@983930 13f79535-47bb-0310-9956-ffa450edef68
The shippingTotal has to be a BigDecimal for the methods called...
* org.ofbiz.base.util.UtilFormatOut.formatCurrency(...)
* org.ofbiz.order.shoppingcart.ShoppingCart.setItemShipGroupEstimate(...)
...so in case it's null, initialize it with BigDecimal.ZERO instead of 0.00
Fixes also some JavaDoc in UtilFormatOut.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@983920 13f79535-47bb-0310-9956-ffa450edef68
Mostly to test the change I just did in mergefromtrunk.bat. Else I'd like to fix also the way the options are shown when using the std checkout (far below, very bad for newcomers). But I have not enough faith, at least today...
I tested enough, and this should not not introduce any side-effects.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@981288 13f79535-47bb-0310-9956-ffa450edef68
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.
JLR: This will maybe help to better understand some errors on demo servers, and can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@954135 13f79535-47bb-0310-9956-ffa450edef68
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>
Less to update every year!
Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783
Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!
I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948846 13f79535-47bb-0310-9956-ffa450edef68
After login to Ecommerce, go to Profile and update Personal Information. Enter a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd). Click "Save". Once back to the main screen, click on "Update" again to update the Personal Information. You will see that the two dates are displayed in wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly somewhere.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945118 13f79535-47bb-0310-9956-ffa450edef68
Bob's comment: three ebay related files along with CheckoutHelper in application/orders whose createOrder now returns a more complete Map<String, Object> instead of a non-generic Map.
Actually CheckoutHelper was already containing Bob's change but there are still a lot of warning, I began to work on them and also in CheckOutEvents, but I finally gave up...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@944720 13f79535-47bb-0310-9956-ffa450edef68
The data seed file was removed in r916150 but the reference in ofbiz-component.xml was never removed. Simply removed this reference to avoid the error when performing an "ant run-install".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@941999 13f79535-47bb-0310-9956-ffa450edef68
certain other things. Earlier this service was returning an empty map for a purchase order and a vendor return. On order detail page action
block there is a check on this map and if the map comes out to be empty the system does not show the options to create return for the
purchase order. Similary if you create a vendor return directly from the Return Header screen and try to add items on the Return Item screen
using an order Id, this display a message "No returnable items found for order"
Also the method sendItemsShipped in the service sendGoogleShipRequest was throwing a NPE because the code try to pull a product through
ItemIssuance > OrderItem > Product
In the vendor return of type refund the items are issued to the return shipment and a purchase return invoice is generated and hence the process
is not linked to any Order. Adding a condition on the ECA so that this service is not invoked.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@940851 13f79535-47bb-0310-9956-ffa450edef68