Drupal Association members fund grants that make connections all over the world.
When Apache Solr returns a result with an attachment in the results DS fails with:
Warning: reset() expects parameter 1 to be array, boolean given in reset() (line 251 of /ds/modules/ds_search/ds_search.module)
Warning: Creating default object from empty value in ds_search_search_page() (line 332 of /ds/modules/ds_search/ds_search.module)
The problem is that attached files are not entities and so entity_view returns false. It looks like there was some plan for support for this but file_view_multiple doesn't exist so it will produce a fatal error if ds_entity_view_fallback ever got that far. It doesn't if you have Entity API installed.
My question is, is there a way to tell display suite to not use the display suite layout and just revert to what Solr returned if ds_entity_view_fallback() returns FALSE?