optionset setting for any Views display will apply to all other displays

Created on 5 April 2023, over 1 year ago
Updated 20 April 2023, over 1 year ago

It isn't possible to choose a different optionset for each Views display.

To reproduce:

  1. Create two Slick optionsets at /admin/config/media/slick
  2. Create a view with two displays.
  3. Choose Slick Carousel for the format for both displays.
  4. In the Format settings for the two displays, try to set them to two different optionsets. Each time you change the optionset for one display, it will change the other as well.
💬 Support request
Status

Fixed

Version

2.7

Component

Documentation

Created by

🇺🇸United States arnoldbird

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

Comments & Activities

  • Issue created by @arnoldbird
  • Status changed to Postponed: needs info over 1 year ago
  • 🇮🇩Indonesia gausarts

    Try Slick Example

    It has 6 optionsets on a view.
    Clone it, and adjust.

    If any valid issue, not on your own end, it is likely core Views, since the sample is fine for years.

    Before cloning, try saving one display at a time, who knows the latest core has broken its persistent widzard cache. In that case, only if you can replicate it with non-slick view, please report it to core.

    Let me know?

  • Status changed to Fixed over 1 year ago
  • 🇮🇩Indonesia gausarts

    I just remembered, it must be on your end :)

    You must select Apply to the current display (block or page) for the persitent cache to work.

    Confirm?

  • 🇺🇸United States arnoldbird

    "You must select Apply"

    Yes, of course. I am clicking Apply and then saving the view after each configuration change. This is not a case of user error :)

    I installed the Slick Example view. However, this view does not prove the bug doesn't exist. It only proves there are situations where it doesn't happen. But the bug is easy to reproduce. I have provided clear steps to reproduce the bug, and am able to reproduce it myself, over and over. It only takes a minute to create a view that reproduces the bug. Please follow the steps I've provided.

    My Drupal core version is 9.5.7.

  • 🇺🇸United States arnoldbird

    I think I just found the issue. I'll provide more information shortly.

  • Status changed to Postponed: needs info over 1 year ago
  • Status changed to Fixed over 1 year ago
  • 🇺🇸United States arnoldbird

    This is not a bug. I misunderstood how the views display settings are applied. The opportunity to choose between "All displays" and "This block" only comes when we choose the format. If we choose "All displays" at that point, then any changes to the settings for that format will also apply to other displays (that haven't been overridden). This is normal behavior for Views.

    The "fix" in my cases is to change the format to something other than Slick Carousel, and then apply and save, and then change the format back to Slick Carousel -- at that point we have the opportunity to choose "This block" so that subsequent settings changes won't affect the other displays.

  • 🇮🇩Indonesia gausarts

    Glad we are on the same page :)

    Thanks for the follow up.

  • Status changed to Fixed over 1 year ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024