Menu items rearrange themselves when I post a new node

emolanphy - November 14, 2008 - 20:20

In my test site, the menu items keep getting jumbled. In admin/build/menus, I fix them and they are correct for a while. But as soon as I post a new node, they get scrambled again. This happens even if the new node is something like a blog post that isn't being assigned to a menu.

I suspected that they were all getting bunched up in the -50 to -47 range, so I turned off Javascript in my browser and carefully reassigned them manually to spread-out numbers in the -48 to -20 range. That did the trick... until I posted a new node again.

When you look at the list of menu items with Javascript turned off, the weird thing is that all the out-of-order menu items have been reassigned to -50 and yet they're at the *bottom* of the page. So the list is like this:

Correctly ordered item: -47
Correctly ordered item: -42
Disabled items: -30, -12, 0, 5, etc.
Incorrectly ordered item: -50
Incorrectly ordered item: -50
Incorrectly ordered item: -50

Has anyone ever observed this?

I see exactly the same. It

salobaas - November 21, 2008 - 22:30

I see exactly the same. It is a huge pain as I've to reorder constantly the menus back to the desired position. It happens even when updating an existing node. It does not matter if I reorder the menu items using js or via the menu weights. An urgent fix is required.

Cheers, Fons.

The symptoms look the same

salobaas - November 22, 2008 - 02:05

The symptoms look the same like in http://drupal.org/node/220004 except that the 220004 fix is applied in D6.6. I run the following modules:

Admin menu
GeShi
Node Hierarchy
Advanced help
diff
fckeditor
freelinking
faq
jsmath
pathauto
search-404
token
token actions
user protect (not enabled)
printer friendly pages
views (not enabled)
views experter (not enabled)
views u (not enabled)

could any of the modules cause the same problem as that was fixed in 220004?

Cheers, Fons.

I filed this issue report

salobaas - November 22, 2008 - 02:07

I filed this issue report against this problem: http://drupal.org/node/337632

-- Fons

Hi, disable the "Node

salobaas - November 24, 2008 - 13:15

Hi,

disable the "Node Hierarchy" module and the problem will disappear.

Cheers, Fons.

 
 

Drupal is a registered trademark of Dries Buytaert.