Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
search.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2009 at 18:44 UTC
Updated:
26 Mar 2010 at 02:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedComment #3
merlinofchaos commentedWeird. THe tests pass for me when I run them. Let's try again.
Comment #5
sunHow about that?
Comment #6
merlinofchaos commentedsun's patch fails without clean urls, which is why mine failed testing but only for the bot.
This one corrects for that and stores the pre-url() called value. However, this means that the actual argument to search_form() is changed slightly. Except that nothing in core calls search_form itself.
Comment #7
jhodgdon#6: search-redirect-bug.patch queued for re-testing.
Comment #8
sunI wonder whether we cannot simply set $form_state['redirect'] in the form builder already? Or do we nuke that property for no good reason?
Powered by Dreditor.
Comment #9
jhodgdonRE #8 sun: Because they keys may have been altered by other modules, so this uses the "processed keys" and adds them in at the end of the submit. Or so I gather from other comments in the code.
I think we should get this one in, so after requesting a test again, I'll probably set it to RTBC unless sun objects?
Comment #10
jhodgdon#6: search-redirect-bug.patch queued for re-testing.
Comment #11
jhodgdonWait for the testing bot though, just in case...
Comment #13
jhodgdonHmmm. Those test failures are all related to some JavaScript thing in locale.module. I think I'll retest because I don't believe this patch caused those failures.
Comment #14
jhodgdon#6: search-redirect-bug.patch queued for re-testing.
Comment #15
jhodgdonLooks like the test bot was happier this time. Let's get this simple fix in.
Comment #16
dries commentedCommitted to CVS HEAD.