It's been a few weeks since I looked at the anonymous checkout since the
training in Utah were we worked on it. It looks like it's been committed as part
of Revision 479879... I'm thinkin' there's a few things still needin' fixin'...
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 those 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 go to
review order, nor generate 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
I'd like to personally thank Tim, David, & Ashish (and anyone else who
contributed) for getting the work of two groups consolidated, and thank whomever
can get this fixed and a patch generated to finish this up.
I also submitted portions of this email to Jira as well as part of
https://issues.apache.org/jira/browse/OFBIZ-498
--
Walter