If there's no pre-existing menu item then the menu item description is auto-filled with the term description. At the moment there's no check to see if the term description is longer than the allowed menu item description (128 characters).

This can be fixed by cropping the term description as put into the menu item description by changing line 292 in edit_term.module from

'#default_value' => $item['description'] ? $item['description'] : $term->description,

to

'#default_value' => $item['description'] ? $item['description'] : substr($term->description, 0 , 128),

CommentFileSizeAuthor
#1 edit_term-issue_287955.patch802 bytesdman

Comments

dman’s picture

Version: 5.x-1.0 » 5.x-1.1
Status: Active » Fixed
StatusFileSize
new802 bytes

Yep, true enough. That bothered me a little also.
Committed to D5 DEV (not yet in the release bundle)

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

OliverColeman’s picture

Status: Closed (fixed) » Needs review

Still a problem in 5.x-1.1

OliverColeman’s picture

Title: Auto-filled menu item description doesn't check length » Auto-filled menu item description (and title) doesn't check length

Also, this applies to the menu title, too (though I suppose one is much less likely to have a 128 character long term title).