CacheBlockForm class prevents configuration changes from saving in block plugins.

Created on 8 December 2023, 7 months ago
Updated 12 January 2024, 6 months ago

Problem/Motivation

Changes to block configuration are not saved when Advanced Varnish module is enabled.

Steps to reproduce

  • Create a block with a configuration form
  • Update configuration values
  • Updates are not saved

Proposed resolution

submitForm method in CacheBlockForm should use block plugin to update the cache settings values rather than directly updating 'settings' property on block object.

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡΅πŸ‡±Poland eyeless

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

Comments & Activities

Production build 0.69.0 2024