I'm not 100% sure of a correct fix.

For now I just alter sps_query_alter to ignore certain tags.

I'll be working on a proper solution soon.

Comments

ericduran’s picture

Currently my quick hack is

 function sps_query_alter($query) {
+  if ($query->hasTag('field_collection_item_load_multiple')) {
+    return;
+  }
   $data = new stdClass();
   $data->query=$query;
   sps_get_manager()->react('entity_select_query_alter', $data);

At least for now they just ignore each other.

Ideally SPS does a query_alter base on a white list of modules that have been tested to work with it.

So instead of doing ->hasTag() { return; } it should be if (!->hasTag('SPS ALLOWED') {}

Or something like that. Anyways I'll comment when I have a better fix.