From 9e7a8a2bcf27df724d69c74c52074bea8b78beff Mon Sep 17 00:00:00 2001 From: Reuben Roberts Date: Fri, 21 Sep 2018 14:52:36 +0100 Subject: [PATCH] Flag an issue verifications for non-case-sensitive databases Possibly the '_qa' field rather needs to be added to the occ.occ schema, though I couldn't get this to work even with that field included. --- src/main/scala/au/org/ala/biocache/processor/Processors.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/au/org/ala/biocache/processor/Processors.scala b/src/main/scala/au/org/ala/biocache/processor/Processors.scala index 48c10d406..370175fb6 100644 --- a/src/main/scala/au/org/ala/biocache/processor/Processors.scala +++ b/src/main/scala/au/org/ala/biocache/processor/Processors.scala @@ -37,6 +37,6 @@ object Processors { case c if c == UNRECOGNISED_COLLECTIONCODE.code || c == UNRECOGNISED_INSTITUTIONCODE.code => "attr" case c if c == INVALID_IMAGE_URL.code => "image" case c if c >= temporalBounds._1 && c < temporalBounds._2 => "event" - case _ => "" + case _ => (if (Config.caseSensitiveCassandra) "" else "default") // the non-case-sensitive cassandra schema does not include the field "_qa" } }