I ran into an issue during the search. I created a panels page discribed in the tutorial. My page has to 2 variants. The first is like the google start page only a form with a logo (/search-link) . After the search the page should redirect to the the url /search-link/keyword. This doesn't happen and I always get the start variant with the keyword in the int the form. After some research I found out in the
function apachesolr_panels_apachesolr_form_content_type_render() apachesolr_form.inc the code

  // We do the redirect manually because the built in search form is stupid
  // and won't redirect even though action is a valid argument for it.
  if (empty($block->content)) {
      drupal_goto($path .'/'. $form_state['values']['processed_keys']);
  }

and I changed it to

  // We do the redirect manually because the built in search form is stupid
  // and won't redirect even though action is a valid argument for it.
  if (empty($block->content) || !empty($form_state['values']['processed_keys'])) {
    drupal_goto($path .'/'. $form_state['values']['processed_keys']);
  }

Now I will redirected to the url /search-link/keyword and I see the results correctly displayed. I think this is a critical bug, because even with the example page I never received results.

Comments

RaulMuroc’s picture

Version:6.x-1.x-dev» 7.x-1.x-dev
Assigned:broncomania» Unassigned

Has it ever been solved? Because It stills raises this error on Drupal 7 in some occasions.

acbramley’s picture

Status:Active» Postponed (maintainer needs more info)

I've used the Drupal 7 version extensively in a range of different sites and have never seen this issue. @RaulMuroc, what error are you referring to? Please post steps to reproduce, or screenshots, or examples of the error.

RaulMuroc’s picture

Priority:Critical» Normal
Status:Postponed (maintainer needs more info)» Closed (won't fix)

I don't know how to reproduce. I think it was a mix of missconfigured contributed and own modules.

RE-open if needed.