When going to a user profile page the annotations tab is not displayed.

The access function annotate_user_has_annotations_access is not called on this page.

It seems like the MENU_LOCAL_TASK is ignored?!?

  $items['user/%/annotations'] = array(
    'title' => 'Annotations',
    'page callback' => 'annotate_list_by_user',
    'page arguments' => array(1),
    'access callback' => 'annotate_user_has_annotations_access', 
    'access arguments' => array(1),
    'type' => MENU_LOCAL_TASK,
  );

Comments

clemens.tolboom’s picture

Status: Active » Fixed

hmmm ... dsm function call was not visible to others (access callback IS called)

So no bug!

clemens.tolboom’s picture

As a side effect the annotation list filters are improved.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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