I've experienced this bug more than once on different Drupal installations (one Drupal 4.7x and now Drupal 5.x). I'm surprised nobody else has noticed it, because it doesn't take much for it to present itself.

I just installed the Views module onto my Drupal 5.0 installation and created my first view (attached). It's very simple; it just shows a teaser list of all upcoming nodes whose event start date is greater than now. I turned on "Provide menu" and left all menu settings at the default values.

My task now is to move the provided menu item created by the Views module to the Primary Links menu (rather than leave in the default Navigation menu). To do this, I click "Edit" beside the "Upcoming Events" menu item in the menu editor. What follows is Drupal's "Page not found" error, rather than a screen allowing me to edit the menu item.

I find it curious that the path to edit this menu item ends in "-165" (/admin/build/menu/item/edit/-165), whereas the path to edit every other menu item in the list ends in a positive number (like 15, 21, etc.).

CommentFileSizeAuthor
exported-view.txt1.25 KBvtowel

Comments

merlinofchaos’s picture

Oh holy crap. That could indicate a bug in Drupal 5's menu system. It could indicate a bug in Views' menu item generation. This is going to have to be explored.

What version of PHP do you use?

vtowel’s picture

I'm using PHP 4.3.8.

Hey, I just discovered something probably pretty helpful: I changed the Path setting for the view to "view/upcoming_events", and now the menu item is fixed. The URL for editing the menu item is now "http://trentgreens.open-eyes.org/admin/build/menu/item/edit/59".

I started out using the path "event/upcoming" just because it seemed pretty logical to me. Is there something wrong with using a path like that?

merlinofchaos’s picture

There shouldn't be a problem with a path like that, though there might be if it is interfering with a path provided by the event module or something along those lines.

I can't replicate this when I import your view; of course, I don't have event.module installed.

It may be a conflict between the modules?

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)
sun’s picture

Do you still experience this bug?

paul2’s picture

Unfortunately I don't have the resources these days to test it. I don't use Drupal 5.x as much anymore, and I think I did find a workaround when this happened anyway, so it's not that important. Thanks for your attention.

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Feel free to re-open this issue.

gavacho’s picture

I have the same problem when trying to edit the default navigation menu. "q=admin/build/menu/item/edit/-138" I am running Drupal 5.11
After clicking the submit button on the menu editing page, a blank page shows. If I refresh this page, it says "page not found". Despite this, the editing changes do show up. I do not have nor have had Views installed, so that is not part of the issue.