DS field with views block not displaying for anonymous users

Created on 1 August 2023, almost 2 years ago
Updated 3 January 2024, over 1 year ago

I have a display suite field that's displaying a views block on a content type. This view has a contextual filter to filter content based on the node ID. This is working fine for logged in users, but recently we noticed that the contextual filter is not working for anonymous users. I've tried changing the views permissions to be "unrestricted" and I confirmed that anonymous users have access to view the content the view is supposed to render.

The only thing I can see here that could be causing this behavior is display suite.

πŸ› Bug report
Status

Closed: outdated

Version

3.15

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States srdtwc Skokie, IL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @srdtwc
  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡§πŸ‡ͺBelgium swentel

    I have a display suite field that's displaying a views block on a content type.

    Is it custom code? Or a block field? I really need more context here as I need a good way to reproduce.

  • πŸ‡ΊπŸ‡ΈUnited States srdtwc Skokie, IL

    This is a display suite block field that is rendering a views block.

    We were able to solve (or work around?) this issue by removing an unnecessary relationship from the view. So it's possible that this is unrelated to DS.

  • Status changed to Closed: outdated over 1 year ago
  • πŸ‡§πŸ‡ͺBelgium swentel

    Thanks for coming back on this! I'll tentatively close this for now then since it works :)

    Don't hesitate to open up again if you encounter other places where it might not work of course.

Production build 0.71.5 2024