Issue 14820

Refactor other issue into a new validation rule

14820
Reporter: omeyn
Assignee: mdoering
Type: SubTask
Summary: Refactor other issue into a new validation rule
Description: If it's still needed? What does it actually do? Does anything read it right now?
Priority: Major
Resolution: Fixed
Status: Resolved
Created: 2014-01-17 13:47:18.757
Updated: 2014-01-28 13:45:33.462
Resolved: 2014-01-28 13:45:33.415


Author: mdoering@gbif.org
Comment: [~omeyn@gbif.org], [~trobertson@gbif.org] do you know what "other issue" exactly is?
Created: 2014-01-27 23:45:54.72
Updated: 2014-01-27 23:45:54.72


Author: mdoering@gbif.org
Created: 2014-01-28 11:19:00.091
Updated: 2014-01-28 11:23:11.957
        
{noformat}
if (cleanedCountry == null && coordLookup.getCountryCode() != null) {
      occ.setOtherIssue( 8 );
{noformat}

This means we've interpreted the country based on coordinates alone. Will add a new issue COUNTRY_DERIVED_FROM_COORDINATES for this case
    


Author: mdoering@gbif.org
Comment: https://github.com/gbif/occurrence/commit/d8a34f709bc879123be72b64a683a4e4d0b478a4
Created: 2014-01-28 13:45:33.459
Updated: 2014-01-28 13:45:33.459