Problem/Motivation

I have a view with an exposed Title field in part of my dashboard, whenever I try to update/change or even discard any changes to the layout, it fails, and just seems to reload the page

Steps to reproduce

I'm yet to fully confirm how easy this is to reproduce, but the error stopped occurring when I removed the exposed field. All other items in the dashboard were menus, or basic view displays

I presume this error is only on the layout editor, so technically I can temporarily remove the exposed field whilst I generate the dashboard, and then re-apply it, but there's a bug there.

Comments

aps-Andrew created an issue. See original summary.

erik seifert’s picture

erik seifert’s picture

Status: Active » Postponed
jrockowitz’s picture

Title: Layout cannot be saved with exposed filter from View » Layout cannot be saved with exposed filter from View or Search Block

First off, using layouts saved in configuration is a great approach to building dashboards.

I ran into a similar issue with the 'Search block'.

My local set up uses the Gin admin theme with Gin layout builder

Steps to reproduce

  • Add Dashboard called Test (test) - /admin/structure/dashboards/add
  • Edit Layout for test -/dashboards/test/layout
  • Add 'Search' block and 'Save layout'
  • View the Test layout -/dashboard/test
  • Edit Layout for test and 'Save layout' - /dashboards/test/layout
  • Confirm changes are not saved and the 'You have unsaved changes.' is still displayed.

Notes

  • If I remove the 'Search' block and click 'Save layout' twice, I am able to save the layout.
  • I was not able reproduce this issue using a View.
jrockowitz’s picture

Status: Postponed » Needs work
erik seifert’s picture

Okay. I will add it to all block displayed on dashboards.

  • Erik Seifert committed affc2dc on 2.0.x
    Issue #3281127 by Erik Seifert, jrockowitz, aps-Andrew: Layout cannot be...
erik seifert’s picture

Version: 2.0.4 » 2.0.x-dev
Status: Needs work » Needs review
erik seifert’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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