Pager appends unnecessary form data to URL

geodaniel - April 1, 2009 - 13:41
Project:Translation table
Version:6.x-1.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

When a change has been made in the menu translation form, and you go to use the pager, the URL that it points to, looks like it includes all the elements from the form. When the form is very large, this can cause problems.

Is there a reason for the extra data to be there? The form still works when this extra data is removed from the URL, so I suspect the normal behaviour should be to exclude it.

#1

geodaniel - April 2, 2009 - 13:05

It appears the pager adds the data from the $_REQUEST variable, even though it's not specifically passed to the pager function. One workaround (read "hack") could be to unset($_REQUEST) or more specifically unset($_REQUEST['string']) but it really doesn't feel like the right way of doing it.

Perhaps using Drupal's forms API would stop this happening?

#2

Pasqualle - May 8, 2009 - 18:09
Status:active» fixed

Should be fixed with #451704: Various improvements

#3

System Message - May 22, 2009 - 18:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.