I have a view on my few sites thas is described in tutorial here http://views-help.doc.logrus.com/help/views/example-users-by-role
(it lists users by argument 'role' and shows summary if no argument specified).

I've created it long ago, and it worked fine. But today I've noticed that it doesn't show regular registered users. That is when I click No role link an empty page is displayed with argument '0' in path (mysite.com/user-list/0) and with title 'No role'.

I've tried to create this view on brand new drupal installation on localhost and got the same result.

What can be the problem?

CommentFileSizeAuthor
#3 827300.patch366 bytesdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sandino’s picture

I wish to add that on summary display the count number is shown correctly, e.g.

No role (178)
Admin (1)
Moderator (6)

sandino’s picture

Title: Example page from tutorial does not show 'No role' users » View does not display regular authenticated users

Changing the topic - this may be more clear to understand.

dawehner’s picture

Status: Active » Needs review
FileSize
366 bytes

This bug was introduced with #496634: argument of 0 results in IS NULL

sandino’s picture

dereine
Thanks a lot!

RKessi’s picture

Thank you for the patch. I applied it to version 6.x-2.11 and it worked perfectly. I hope it soons goes into the afficial versions (I had the problem since 6.x-2.9).

dawehner’s picture

Is this somehow a phrase for rtbc?

RKessi’s picture

I think this patch in #3 by dereine should be committed as I do not see a large probability for a bad side effect. However the decision rests with the module developpers.

apaderno’s picture

Status: Needs review » Reviewed & tested by the community
dagmar’s picture

Category: support » bug
merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed to all branches.

sandino’s picture

Thanks for the patch!

Status: Fixed » Closed (fixed)

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