Issue 11042
Validation of input to web services needed
11042
Reporter: mdoering
Assignee: jcuadra
Type: Improvement
Summary: Validation of input to web services needed
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2012-04-26 17:34:01.587
Updated: 2013-12-16 17:50:33.159
Resolved: 2012-07-03 11:33:14.431
Description: The writable webservices do not validate the input data. Posting an Identifier missing the required identifier property results in a mysql 500 error instead of a validation one.
See disbled NEBaseITBase.postInvalidIdentifier() ws-client ITest.]]>
Author: fmendez@gbif.org
Comment: This service was promoted to version 0.1, at least IdentifierResource should validate the input data.
Created: 2012-06-20 12:35:15.829
Updated: 2012-06-20 12:35:15.829
Author: kbraak@gbif.org
Comment: Some not null annotations added to sub component classes: http://code.google.com/p/gbif-registry/source/detail?r=3066
Created: 2012-06-25 13:19:09.874
Updated: 2012-06-25 13:19:09.874
Author: trobertson@gbif.org
Comment: Bumping to 0.2 since the demo does not write. Raised to blocker
Created: 2012-06-26 14:04:32.868
Updated: 2012-06-26 14:04:32.868
Author: jcuadra@gbif.org
Created: 2012-07-03 11:33:14.464
Updated: 2012-07-03 11:33:14.464
Fixed and tested
See http://code.google.com/p/gbif-registry/source/detail?r=3117