Closed (works as designed)
Project:
Category
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2007 at 21:39 UTC
Updated:
7 Jun 2007 at 13:50 UTC
Category module creates menu item. Looking at the database, I have a menu item with a menu.type value of 36, which is "MENU_VISIBLE_IN_BREADCRUMB" + "MENU_MODIFIED_BY_ADMIN".
Shouldn't it be "MENU_MODIFIABLE_BY_ADMIN" instead of "MENU_MODIFIED_BY_ADMIN"?
I'm still not too familiar with category.module internals, but this seems strange to me. This value makes it impossible to modify this menu item through the menu administration interface.
Comments
Comment #1
mathieu commentedForgot to mention ... That 36 is decimal, as seen in phpmyadmin.
Comment #2
bdragon commentedIt's on purpose.
It's a dirty trick to force menu to handle breadcrumbs for category_menu. In my opinion it needs to be shot.
A better way to handle this is to have a dedicated module to handle breadcrumbs. There's some stuff in the issue queue somewhere regarding this...
Comment #3
bdragon commented