Explorar o código

Added updated warning for issue #500

Stephen Ficklin %!s(int64=6) %!d(string=hai) anos
pai
achega
c7d417ff24
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      tripal_chado/includes/tripal_chado.vocab_storage.inc

+ 3 - 1
tripal_chado/includes/tripal_chado.vocab_storage.inc

@@ -102,7 +102,9 @@ function tripal_chado_vocab_get_vocabulary($vocabulary) {
   $result = chado_query($sql, array(':name' => $vocabulary));
   $result = $result->fetchAssoc();
   if (!$result) {
-    drupal_set_message("Could not find details about the vocabulary: $vocabulary");
+    drupal_set_message("Could not find details about the vocabulary: $vocabulary. Note: ".
+      "if this vocabulary does exist, try re-populating the db2cv_mview materialized " .
+      "view at Admin > Tripal > Data Storage > Chado > Materialized views.");
     return FALSE;
   }