This may be the wrong place for this as it seems to be a cookie issue, but the navigation menu always shows "Anonymous (not verified)" in the title and the menu displayed is for an anonymous user.

Same in IE10 and Firefox 22.0

I don't see a cookie that looks like it would correspond to the uid, but not sure how that works.
Not caching javascript or css.

Comments

webel’s picture

Confirming this problem jquerymenu-7.x-4.0-alpha3.tar.gz vs Drupal 7.23

webel’s picture

You can easily hack by ignoring the theme layer to get the correct result (show username in navigation block title) thus:

        if ($menuname == 'navigation' && !empty($user->uid)) {
          // D6 to D7 conversion: ?? use the associative array or not?
          //ORIGINAL $title = theme('username', (array)$user);
          //$title = theme('username', array('user' => $user));
          //Webel: the above both fail, causes a bug: Navigation menu always shows anonymous (not verified)
            $title = $user->name;//HACK
        }
        else {
          $title = db_query("SELECT title FROM {menu_custom} WHERE menu_name = :name", array(':name' => $menuname))->fetchField();          
        }
markbannister’s picture

webel:
That doesn't help the permissions. I'm trying to use the navigation menu. It's different for anonymous users.

webel’s picture

Priority: Normal » Major
Issue summary: View changes

@markbannister

'That doesn't help the permissions. I'm trying to use the navigation menu. It's different for anonymous users.'

... and the menu displayed is for an anonymous user ..

Indeed I am talking about the case where the user is logged in, but I do not with version Jquery Menu
7.x-4.0-alpha3 get the menu only as displayed for the anonymous user, I get the correct menu (subject to access permissions), but the title of the block is (unless my hack is used) 'anonymous (not verified)' as the block title, instead of the username.

It used to work perfectly in the Drupal6 versions.

I am bumping this up to MAJOR, it really does need attention, and I don't understand how it has gone unnoticed by the developers unless there is some other cross-condition/setting that is making it behave this way.