admin/node/search breaks due to a redirect

Zen - February 15, 2006 - 16:11
Project:Drupal
Version:x.y.z
Component:node.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

forms.inc v1.67 (which modifies redirect behaviour) breaks admin/node/search: the results page is generated but then redirected to itself. But I don't think this is a forms API issue.. Perhaps the issue is that node_admin_search doesn't support $_GET keywords. I'm not sure.

Thanks,
-K

#1

kje - February 15, 2006 - 17:50
Component:node system» locale.module

Same is true for "admin/locale/string/search". There is also bug

http://drupal.org/node/49123

which describes same effect. The result is generated, but replaced by blank new form.

#2

Zen - February 16, 2006 - 09:53
Component:locale.module» node.module

I'm sure that they are related/caused by the same problem, but I think these are separate issues. If somebody can clarify, please mark this as a dupe if need be.

Thanks
-K

#3

drumm - February 16, 2006 - 11:11

The search form ..._submit() function should return the path to the search results page and do nothing else. THe actual search happens on GET only.

#4

ankur - February 17, 2006 - 12:25

The issue for the broken q=admin/user/search function has a similar problem: http://drupal.org/node/49730

A drupal_goto() results in an empty $_POST[] array which the code tries to use for the search parameters.

#5

chx - February 17, 2006 - 13:47
Status:active» duplicate

http://drupal.org/node/49799

 
 

Drupal is a registered trademark of Dries Buytaert.