Closed (fixed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Feb 2017 at 16:43 UTC
Updated:
3 May 2019 at 16:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
amateescu commentedThis should do it.
Comment #3
amateescu commentedThis is also a small performance improvement for our update path tests because not loading and saving all the views every time is faster than doing it :)
Comment #4
timmillwoodLooks like a simple solution.
Comment #5
alexpottCommitted and pushed f8ec0d1 to 8.4.x and 6dfa2cb to 8.3.x. Thanks!
Makes sense and I'm not sure a test is simple and worth the effort.
Comment #8
alexpottWe should file a follow-up to improve the performance of the method - we should only save the views that have changed.
Comment #10
amateescu commentedI wish I would've done this sooner, but here's the followup for #8: #3052492: ViewsEntitySchemaSubscriber should not make an entity update fail if a view cannot be resaved