[
http://issues.apache.org/jira/browse/OFBIZ-498?page=comments#action_12454419 ]
Walter Vaughan commented on OFBIZ-498:
--------------------------------------
There is no graceful error message when you submit
/ecommerce/control/setShipping with missing data. It spits out the typical
ofBiz-BSOD equivalent with
The Following Errors Occurred:
* ERROR: Could not complete the Process Ship Settings; to be called as a
Request Event
[file:/ofbiz/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml#processShipSettings]
process [problem invoking the [createPartyPostalAddress] service with the map
named [addressContext] containing [{attnName=null, yearsWithContactMech=null,
userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-2913:29:25.0(java.sql.Timestamp)]
[...sniped thousands more characters...]
Rather than how /ecommerce/control/setCustomer when submitted gracefully errors
with messages like
The Following Errors Occurred:
* Firstname is Missing
* Lastname is Missing
and allows the operator to make corrections to there entries.
The /ecommerce/control/setShipOptions page as well does allow you to *not* pick
a shipping method, which *should* error out that you did not pick a radio
button, or inform you that some default method was chosen...
The ecommerce/control/setPaymentOption does not seem to remember previous
settings, at least the radio buttons do not maintain there settings when you
return to that page unless you reach the "Review Order Page". It then seems to
remember your choice. Also if an operator selects "Offline Payment", when the
setPaymentInformation page is submitted, nothing happens. It doesn't got to
review order, nor generates anything in the log files.
On ecommerce/control/setPaymentInformation?paymentMethodTypeId=CREDIT_CARD it
suffers as well as unfriendly error messages for missing data like City or State
> Anonymous Checkout Refactoring [ ecommerce ]
> --------------------------------------------
>
> Key: OFBIZ-498
> URL: http://issues.apache.org/jira/browse/OFBIZ-498
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: ecommerce
> Affects Versions: SVN trunk
> Reporter: Tim Ruppert
> Assigned To: David E. Jones
> Attachments: anonymous_checkout3.patch, anonymousCheckout.patch
>
>
> All, this is the anonymous checkout refactoring that was started during the
> training in Ephraim. The team that contributed to this was David Jones, Amit
> Shinde, Anil Patel, Tim Ruppert, Walter Vaughn, Eric Schwartz & David Shere.
> Anil Patel, Ashish Vijaywargiya and I picked this up and finished it to the
> best of our ability.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira