Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
reported by merlinofchaos on IRC - for an updated 5.x-6.x site, some links give a warning. Apparently we are making one too many assumptions about what may be set in $item['attributes'].
attached (trivial) patch applies to both 6.x and 7.x
Comment | File | Size | Author |
---|---|---|---|
menu-attributes-isset.patch | 853 bytes | pwolanin | |
Comments
Comment #1
pwolanin CreditAttribution: pwolanin commentedoops make that "what is set in $item['options']"
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedTHe menu items that caused it were pre-existing items that had been moved -- in this case, node/add/story node/add/blog and node/add/page -- I had moved them all out from under create content.
This patch does appear to fix the problem.
Comment #3
chx CreditAttribution: chx commentedComment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #5
pwolanin CreditAttribution: pwolanin commentedshould apply to 6.x too
Comment #6
sunPatch applies cleanly and fixes this bug in D6.
Comment #7
Gábor HojtsyThanks, committed to Drupal 6.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.