you get a requirement error:

Apache Solr API Integration requires API version 3.0. Please upgrade your Apache Solr Search Integration module (Currently using Acquia Search Incompatible API version)

unless apachesolr is installed first. Hence, you cannot enable acquia_search to get all its dependencies at the same time. Easiest thing to do is likely make the check a runtime-only check.

CommentFileSizeAuthor
#1 1190858-1.patch3.83 KBpwolanin

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new3.83 KB

include a little whitespace cleanup too.

pwolanin’s picture

only functional change is the added if() block

acquia_connector$ git diff -w
diff --git a/acquia_search/acquia_search.install b/acquia_search/acquia_search.install
index 7a80557..c53061e 100644
--- a/acquia_search/acquia_search.install
+++ b/acquia_search/acquia_search.install
@@ -24,6 +24,7 @@ function acquia_search_requirements($phase) {
     );
 
   }
+  if ($phase == 'runtime') {
   // Check SSL support.
   if (in_array('ssl', stream_get_transports(), TRUE)) {
     $severity = REQUIREMENT_OK;
@@ -48,6 +49,7 @@ function acquia_search_requirements($phase) {
     $requirements['acquia_search_apachesolr']['description'] = $t('Apache Solr API Integration requires  API version 3.0.  Please upgrade your Apa
     $requirements['acquia_search_apachesolr']['value'] = $t('Incompatible API version');
   }
+  }
 
   return $requirements;
 }

pwolanin’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.