Closed (fixed)
Project:
Markdown
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2024 at 02:42 UTC
Updated:
15 Jan 2026 at 19:49 UTC
Jump to comment: Most recent
When upgrading from 8.x-1.x to 8.x-2.x, the schema of markdown.settings changed. See #3142418: Support multiple libraries per plugin.
8.x-1.x:
markdown.settings:
type: config_object
label: 'Markdown settings'
mapping:
markdown_library:
type: string
label: 'Markdown library'
8.x-2.x:
# Markdown Settings.
markdown.settings:
type: config_object
label: 'Markdown Settings'
mapping:
default_parser:
type: string
markdown_post_update_8950() sets the new default_parser value; however it fails to remove the removed markdown_parser value.
See https://git.drupalcode.org/project/markdown/-/blame/8.x-2.x/markdown.pos...
This results in a schema validation error:
array (
'markdown.settings:markdown_library' => 'missing schema',
)
Add a post_update function to remove the markdown_libraryvalue, if it exists, from markdown.settings.
Open MR.
None.
None.
None. (Data model already changed.)
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
Comment #3
chris burge commentedComment #5
joelpittetSeems reasonable, just did a small nitpick fix and going to commit.