All teasers shown x times on frontpage (x = (number of roles assigned to the user - 1) )

myDRU - November 5, 2009 - 23:02
Project:Views
Version:6.x-2.7
Component:Views Data
Category:support request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

I have a frontpage view enabled, to have the frontpage generate automatically teasers of published pages that are promoted to the home page of my website. Since a bit of time, all these teasers on the front page show three times, when I'm logged in as user, other than admin. As Admin and anonymous, each teaser correctly shows once.

Strangely enough, when logged in and browsing through a album of images via the module Image Assist, also there each image in the album shows three times.

Who can give a hint?

#1

dereine - November 5, 2009 - 23:33

I think its caused by http://drupal.org/node/284392
Have fun with this long issue :)

#2

myDRU - November 8, 2009 - 21:35
Title:All teasers shown three times on frontpage, only when logged in» All teasers shown x times on frontpage (x = (number of roles assigned to the user - 1) )

Not sure... I found out that on the home page, each teaser shown (via the frontpage view) is shown 1 time for each role that the user is assigned to! Therefore, I made the title of this thread more specific. In other words:

user admin : all teasers on the home page perfectly appear 1x (admin has no roles explicitly assigned to)
user anonymus: all teasers on the home page perfectly appear 1x (anonymous has no roles assigned to)
myUserWithTwoRoles: for this user, all teasers appear 3 times;
..
myUserWithFiveRoles: for this user, all teasers appear 6 times

The same teaser shows x times, the one right below the other, and then the next teaser shows also x times, etc.

Interesting to know might be that - for quite specific purposes - I have 45 (!) different roles.

Who has an idea?

#3

dereine - November 8, 2009 - 23:42
Status:active» duplicate

This was reported many times....

I suggest to update to latest views version. You can search the issue queue, and find many other examples...

#4

myDRU - November 9, 2009 - 21:09

I run the latest (released) views version 6.x-2.7. Do you mean the error is not solved in Views 6.x-2.7 and that I should go to version 3.x dev?

#5

myDRU - November 10, 2009 - 23:52

The number of roles seems to be insignificant, because if I increase the number of roles to 50 on my test site (older D6 views and core modules run there), the problem does not occur. Does anybody have an idea?

 
 

Drupal is a registered trademark of Dries Buytaert.