Provide upgrade path for the "current_theme" condition

Created on 15 September 2023, 12 months ago

Problem/Motivation

🐛 Fatal error: Schema error for theme condition selection field Fixed enforced the usage of a single theme per current_theme condition.
However there is no easy update path for this.

Steps to reproduce

Have an existing asset injector entity with the following condition:

conditions:
  current_theme:
    id: current_theme
    theme:
      seven: seven
    negate: false
conditions:
  current_theme:
    id: current_theme
    theme:
      seven: seven
      olivero: olivero 
    negate: false

Proposed resolution

Provide an update path to move to the new format. And if the asset injector has multiple themes, it'll flag them in the update not for the site administrator to review.

Remaining tasks

User interface changes

N/A

📌 Task
Status

Needs review

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024