Tour config validation errors

Created on 28 August 2024, 4 months ago
Updated 13 September 2024, 3 months ago

Problem/Motivation

When importing config from the Tour module in a recipe, the config is validated. This is stricter than just enabling a module which does no validation.

  There were validation errors in tour.tour.admin_content:
  - tips.add_content.position: The value you selected is not a valid choice.
  - tips.filters.position: The value you selected is not a valid choice.
  - tips.bulk_checkbox.position: The value you selected is not a valid choice.
  - tips.bulk_actions.position: The value you selected is not a valid choice.

There are probably more as it stops at each error.

Steps to reproduce

Create a recipe.yml that requires tour and import's it's config.

name: Tour config test
description: Installs and imports config from the Tour module.
type: Test
install:
  - tour
config:
  import:
    tour: '*'

Then apply that recipe.

Proposed resolution

Fix the configs.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Live updates comments and jobs are added and updated live.
  • Starshot blocker

    A potential blocker for Drupal Starshot. More information: http://www.drupal.org/project/starshot

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024