Data entry 2

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

Data entry 2

BJ Freeman
in the productsummary.groovy.
it gets a product then passes this to
getInventoryAvailableByFacility

however if a person is entering data on this product as someone accesses
the eccomerce store all you get is a lot of error codes.
Like
The following required parameter is missing:
[getInventoryAvailableByFacility.facilityId]
because the person entering the data has not yet got that far.

So do we further bullet proof the code by checking that all the data is
avalible before calling a service, or do we do some back ground
processing as the data is entered to make sure all fields have data on
the first entry level?

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.