Hi,

In block.module file, i discovered a menu item, function block_menu, related to a function that no longer exists :

$items['admin/build/block/list/js'] = array(
    'title' => 'JavaScript List Form',
    'page callback' => 'block_admin_display_js',
    'access arguments' => array('administer blocks'),
    'type' => MENU_CALLBACK,
    'file' => 'block.admin.inc',
  );

I suggest to remove this item.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

asimmonds’s picture

Version: 6.9 » 7.x-dev
Status: Active » Needs review
FileSize
848 bytes

block_admin_display_js() was removed in #181066: Drag and drop of table rows (e.g. block admin) about 6.0-beta3 time, but it looks like this menu_item was left.

Block admin is still functional with both js enabled and disabled, when this is removed.

asimmonds’s picture

FileSize
856 bytes

Rerolled

Dries’s picture

Status: Needs review » Fixed

Committed. Thanks asimmonds.

Status: Fixed » Closed (fixed)

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

Heine’s picture

Version: 7.x-dev » 6.x-dev
Status: Closed (fixed) » Needs review
FileSize
661 bytes

Status: Needs review » Needs work

The last submitted patch, do-nonexisting-menu-item.patch, failed testing.

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.