[drupal-devel] [bug] Supernumerary messages "The menu item has been removed"

Jose A Reyero drupal-devel at drupal.org
Mon Sep 5 15:36:27 UTC 2005


Issue status update for 
http://drupal.org/node/27669
Post a follow up: 
http://drupal.org/project/comments/add/27669

 Project:      Drupal
 Version:      cvs
 Component:    menu system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  wiz
 Updated by:   Jose A Reyero
 Status:       patch (code needs review)

+1 Patch looks good




Jose A Reyero



Previous comments:
------------------------------------------------------------------------

Thu, 28 Jul 2005 11:07:22 +0000 : wiz

Attachment: http://drupal.org/files/issues/node_delete_menu_msg.patch (583 bytes)

When deleting a node, the function
modules/menu.module:menu_node_form_delete() removes a custom menu entry
for the node if it exists.  The problem is that it will always print a
message about a removed menu item, even though nothing has been
actually deleted. Suggested fix: use db_affected_rows().




------------------------------------------------------------------------

Sun, 21 Aug 2005 17:27:07 +0000 : killes at www.drop.org

we use && not "and".




------------------------------------------------------------------------

Wed, 31 Aug 2005 21:27:23 +0000 : wiz

Attachment: http://drupal.org/files/issues/node_delete_menu_msg_1.patch (582 bytes)

ok I changed and to &&







More information about the drupal-devel mailing list