URL arguments are not removed from menu link after editing a menu item
danielskeenan - January 28, 2009 - 18:10
| Project: | Drupal |
| Version: | 6.9 |
| Component: | menu system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I had created a menu link with a URL argument in it to run into an exposed filter in Views (i.e. example.com/myview?arg=foo). I then changed it to use the arguments built into views because I thought it would be a bit more SEO friendly. When I changed the menu link to the new link, it preserved the argument at the end, even though I removed it when I changed the menu (i.e. example.com/myview/foo?arg=foo).
Steps to reproduce:
- Create a view that has an exposed filter that can be changed via a URL argument. I used a taxonomy term so it would be tid=whatever.
- Create a menu link with the argument in it. Mine was a primary link.
- Change the view to use an argument so the url would become example.com/myview/whatever.
- Change the menu link to be the new URL without the URL argument in it.
- Notice how the menu link still has the argument in it, in addition to the change made in the menu editor.
My Server:
- Apache 2.2.11
- MySQL 5.0.67
- Drupal 6.9
- PHP 5.2.6
