Ok first i am not sure if this is menu or node, and it may be user trouble or a bug

I have recently upgraded from 5.12

In Drupal 5 when you created a menu item in admin, you could assign a "description". This description could also be assigned in Menu settings when creating a node.

I just noticed that all my descriptions are now missing

Looking at Drupal 6

If i create a menu in admin, i get the same as in Drupal 5 including "description", but if i create a node I only get offered Menu Link Title, Parent Item and Weight, "description" is Missing

Could this be a defective upgrade or a bug?

I have created a new menu item in D6 and the description is saved

CommentFileSizeAuthor
#1 link_description_d6_0.patch779 bytesainigma32
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ainigma32’s picture

Title: Missing menu "Description" » Upgrade drops menu link descriptions
Component: menu system » system.module
Category: support » bug
Status: Active » Needs review
FileSize
779 bytes

Ran a little test using a primary link entry. After the upgrade the description (or title attribute of the anchor) is gone.
This looks like a bug in the upgrade process.
Attaching a patch to fix this.

- Arie

ainigma32’s picture

Version: 6.6 » 6.x-dev
ainigma32’s picture

@midkemia: do you have the means to test this?

- Arie

Anonymous’s picture

Oops how did i miss this :) Unfortunately i dont have a d5 developement site to test on at the moment. I will see if i can set one up over teh weekend and give it a try

Anonymous’s picture

OK got it done a little sooner than expected. The Description survived upgrade from latest d5 to latest d6 :) so i would say it works

The only issue remaining is that when you create a node and want to add it to a menu there is no facility to add the description at that point which is a real step backwards from D5,

ainigma32’s picture

That would be a feature request for D6. Maybe you could open a new issue for that (if there isn't one already) ?

Could you change the status of this issue to patch (reviewed & tested by the community) ?
That is, if you are convinced you have tested it of course ;-)

After that we should get the opinion of Gabor on this little fix.

- Arie

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

Well I installed a new D5 added the description then updated to D6 and it was still there so I would say it works :)

Added Feature or better termed Bug Report for second part of the issue here http://drupal.org/node/378064

Gábor Hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

I've verified that menu_edit_item_submit() does indeed do the same stuff: $item['options']['attributes']['title'] = $item['description'];

Patch look good, so committed, thanks!

Status: Fixed » Closed (fixed)

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