Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the screenshot I show a file field that in translatable. But the way apachesolr tries to index it is by calling
function apachesolr_file_indexing_callback($entity, $field_name, $index_key, $field_info) {
$fields = array();
if (!empty($entity->{$field_name}) && array_key_exists(LANGUAGE_NONE, $entity->$field_name)) {
However the fields array will always be empty as the second condition is false. Is this how it's supposed to work? Could this be potentially a bug?
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2016-12-06 at 12.46.04 PM.png | 36.9 KB | awm |
Comments