Issue 11754

Add OccurrencePersistedMessage

11754
Reporter: lfrancke
Assignee: omeyn
Type: Improvement
Summary: Add OccurrencePersistedMessage
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-08-30 11:27:48.154
Updated: 2013-12-06 12:06:46.143
Resolved: 2012-10-08 11:30:36.825


Author: lfrancke@gbif.org
Comment: Can't be done easily as the Occurrence object can't be serialized/deserialized without further configuration of Jackson or changes to the object.
Created: 2012-08-30 14:27:24.348
Updated: 2012-08-30 14:27:24.348


Author: mdoering@gbif.org
Created: 2012-08-30 14:40:35.263
Updated: 2012-08-30 14:40:35.263
        
jackson can easily be told to ignore additional properties.
ObjectMapper MAPPER.disable(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES);

    


Author: lfrancke@gbif.org
Created: 2012-09-12 12:08:45.028
Updated: 2012-09-12 12:08:45.028
        
We allow ObjectMapper to be passed in so we'd have to configure that even though it might be enabled by design.

So there's certainly a way to fix it but I hesitate doing that.