After installing a YAML file where the settings were to "Create new menu items under an existing menu" (Primary links) the resulting menu is not ordered/weighted as the order set in the YAML file.
It seems that all menu items are weighted as "0" and the resulting menu is ordered alphabetically.

The same file and install method worked fine on Drupal 5.14 with Bones 5.x-0.5

CommentFileSizeAuthor
#2 bones-360769-1.patch426 bytesredpuma

Comments

redpuma’s picture

Status: Active » Needs review

It looks like line 386 of bones.module was missing a "$"
was
'weight' => weight
should be
'weight' => $weight

All works fine now.

redpuma’s picture

StatusFileSize
new426 bytes

It looks like line 386 of bones.module was missing a "$"
was
'weight' => weight
should be
'weight' => $weight

All works fine now.

joachim’s picture

Haven't tried patch, but confirming this fix.

usonian’s picture

Assigned: Unassigned » usonian
Status: Needs review » Fixed

Thanks for the patch and the test. Fix committed to the D6 branch.

Status: Fixed » Closed (fixed)

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