When there are no indexable entities/bundles, the page at admin/config/search/apachesolr throws an undefined variable notice:

Notice: Undefined variable: form in apachesolr_attachments_entity_bundle_settings() (line 133 of .../apachesolr_attachments/apachesolr_attachments.admin.inc).

Patch attached that displays some information, pointing the user to where indexable entities/bundles can be configured.

Screenshot

Comments

Status: Needs review » Needs work

The last submitted patch, apachesolr_attachments-no-indexable-bundles.patch, failed testing.

mr.baileys’s picture

Project: Apache Solr Search » Apache Solr Attachments
Status: Needs work » Needs review

... now moving to the correct issue queue ...

nick_vh’s picture

Issue summary: View changes
Status: Needs review » Fixed

Thanks! Added :)

  • Nick_vh committed 7cacc4d on 7.x-1.x authored by mr.baileys
    Issue #1933184 by mr.baileys: Fixed Notice: Undefined variable when no...

Status: Fixed » Closed (fixed)

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