Loop logic occurs because {destination:foo/example} gets set for the apachesolr_search form from the search404 path. Need to unset the #value from the form before rendering it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

heddn’s picture

Status: Active » Needs review
FileSize
1.04 KB
zyxware’s picture

Thanks for the fix. This has been committed to 7.x-1.x branch.

It would be helpful if a few solr users could test this fix.

scott.allison’s picture

Status: Needs review » Fixed

I can confirm this in fact solves the issue with destination/search button loop.

Solr version 7.x-1.1
Drupal version 7.18

marking as fixed.

Status: Fixed » Closed (fixed)

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