When creating a new node view does not display the new node

Created on 12 February 2018, over 6 years ago
Updated 19 September 2023, 9 months ago

I have a view that contains a view of Blog node. If I update a node, the view gets updated right away. If I add a new node it won't display on the view till I run flush all caches.

πŸ’¬ Support request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States albertski

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.

  • πŸ‡ΊπŸ‡ΈUnited States Chris Burge

    The update hook doesn't set it to the new recommended value. It sets it to TRUE.

    /**
     * Set override_list_tags to TRUE for backwards compatibility.
     *
     * We recommend manually changing to FALSE for more consistent clearing. See
     * README.
     */
    function pantheon_advanced_page_cache_update_8001() {
      \Drupal::configFactory()
        ->getEditable('pantheon_advanced_page_cache.settings')
        ->set('override_list_tags', TRUE)
        ->save();
    }
    

    So running update.php isn't going to help. I see that the README was updated, but a note in the release notes would have been very helpful.

Production build 0.69.0 2024