Views UI preview does not respect changed 'path' option until saving

Created on 20 November 2015, about 9 years ago
Updated 26 January 2025, 1 day ago

Problem/Motivation

When editing a View with a Page display, if the Path is changed in the settings, the change is not reflected in the Preview pane despite Auto preview being checked.
(The display's name and path are displayed below the result, at the bottom of the page)
You must save the view before, only then the setting is used.

Steps to reproduce

  1. Create or edit a view with page display
  2. Make sure auto preview is enabled
  3. Update the page path more than once
  4. Notice the path changes are not shown in the preview

Proposed resolution

Show the latest Path in the preview.

Remaining tasks

  1. Commit patch

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component

views_ui.module

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024