Problem/Motivation
Reset to default doesn't seem to do anything as overrides are not being reverted to the default dashboard layout.
Steps to reproduce
- As an admin create a dashboard with the powered by Drupal block.
- Logged in as a user with following permissions: Can override My dashboard dashboard & Can view My dashboard dashboard.
- Place or move the block in the override screen, save.
- Clear cache & reload page (in order to see the block to be added or changed #3205095: Overriding a dashboard requires a cache clear
- Go to override again
- Click reset to default (this goes back to the view dashboard page?)
- Nothing has changed
- Clear the cache, now the item is changed
- Go into override mode
- Now there is a prompt there are unchanged changes to be saved (but the added blocks are still there)
- Saved the config but nothing changed (cleared cache again as well)
Proposed resolution
Check why the button isn't working
Remaining tasks
Fix the bug
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork dashboards-3205096
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bramdriesenComment #3
bramdriesenEntry is being deleted from the database, however the layout view somehow manages to still load the old data. So I suspect this to be related to some sort of cache/revision issue. Maybe related to the linked issue above.
Comment #4
bramdriesenComment #6
bramdriesenPartially fixed. The button now works because the cached version isn't shown on the display page when you override it. However the override screen still loads the cached version.
Comment #7
bramdriesenGoing to create a child issue for the override screen loading the previous override since it's not cache related it seems. (manually and programatically cleared the cache after reverting the dashboard but no change to the override screen).
Comment #9
bramdriesenThis can be set to fixed now? :)
Comment #10
erik seifert commented