Duplicate key "title_tag" detected

Created on 21 January 2025, 2 months ago

Problem/Motivation

Upgrading from 2.1.0 to 3.1.0 results drush to break down with an error:

Invalid data type in config toc_js.schema, found in file modules/contrib/toc_js/config/sch  
  ema/toc_js.schema.yml: Duplicate key "title_tag" detected at line 20 (near "  label: 'Sele  
  ct a tag for the title selector'").

In the mentioned file there is title_tag twice:

title_tag:
      type: string
      label: 'Toc title HTML tag'

and

title_tag:
      type: string
      label: 'Select a tag for the title selector'

Steps to reproduce

composer require drupal/toc_js
drush updb

Proposed resolution

Either title_tag should be removed.

Remaining tasks

User interface changes

๐Ÿ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ฎFinland leipomalla

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