Cookies placeholder still presents for the view updated with Ajax.

Created on 22 November 2023, about 1 year ago

Problem/Motivation

Method _cookies_addons_views_is_restricted() checks if the view is restricted and has a validation to not check it in case of the POST request.

  if (\Drupal::request()->getMethod() === 'POST') {
    return FALSE;
  }

But it doesn't work for the view updated with Ajax, validation still continues and returns an empty placeholder, if cookies were accepted.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine _shy Ukraine, Lutsk πŸ‡ΊπŸ‡¦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024