Problem/Motivation

When installing this site template on Drupal core 11.4, the presence of context_mapping keys (even if empty) cause errors when updating any theme setting (including site logo).

Proposed resolution

Internally, Drupal Canvas strips id and provider keys during validation. The upstream fix would be to have Canvas similarly strip context_mapping keys. In the meantime, strip all the context_mapping keys from provided blocks that will be used in Canvas.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mandclu created an issue. See original summary.

  • mandclu committed b34fe281 on 2.0.x
    fix: #3608103 Use of context_mapping values in blocks trigger Canvas...
mandclu’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.