[development] Fun menu system bug
drumm at delocalizedham.com
Wed Jan 11 14:02:59 UTC 2006
1. Alias 'blog' or other system path to something else.
2. Go to menu admin.
3. Get one more row for the blog item in the db every reload.
(and it is even handled somewhat randomly, seemingly depending on
surrounding menu items)
I think I've traced this to the one line of code added with
http://drupal.org/node/9477. The blog menu item is never found for
de-duping since it is never searched for, so the menu system thinks it
needs to make a new one every time.
- Revert the patch.
- Check if the un-normalized path is in the 'path index' array before
- Disallow aliasing system paths.
Anyone have other good ideas?
More information about the development