Closed (duplicate)
Project:
Drupal core
Version:
8.7.x-dev
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2019 at 20:28 UTC
Updated:
5 Jun 2019 at 16:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
morbus iffThis patch appears to apply to both 8.6.x and 8.7.x. Note that in 8.6.x., there's a similar max-age: 0 vs. -1 tweak necessary for views.view.media-library.yml, but this appears to have been automatically corrected with the 8.7.x changes committed in #2981044: Unify the grid/table views of the media library.
Comment #3
andypostComment #4
morbus iffComment #6
lendudeUnrelated change, might need a follow up, but lets not change it here.
And if I look for
max-age: 0I find a lot more instances, for example:/core/modules/node/config/optional/views.view.content.yml
/core/modules/comment/config/optional/views.view.comment.yml
But you are correct that these don't need updates here because the settings seems to originate somewhere else then the display setting and these are still accurate.
Comment #7
morbus iffYeah, these were just straight exports from the config system.
You want me to export the configuration and then modify it?
Or should I retweak the issue title to be more inclusive?
("Re-export table style views affected by the max-age dynamic cache change"?)
Indeed! But the only configs that were different (after a fresh standard profile install), in relation to max-age, were those specifically using display "style: table". You nailed it on the head that the changes were specifically related to #2932083: Views Table style plugin breaks dynamic cache .
Comment #8
alexpottNice find @Morbus Iff - I found this a different way via the testing system - I'm going to mark this issue as a duplicate of #3059545: Improve \Drupal\KernelTests\Config\DefaultConfigTest to install all optional configuration even though this one is older because it has a slightly increased scope and has test coverage. Will give contributors here credit over there.