Missing action.configuration schemas for some node actions

Created on 1 August 2022, about 2 years ago
Updated 16 August 2023, about 1 year ago

Problem/Motivation

Using config_inspector β†’ reveals that some system.action.* configurations for node actions are missing schemas for their configuration values. The files for node_save_action, node_unpublish_action, and node_publish_action all show "missing schema" as the error for the configuration: { } line in both my config/sync .yml files and in web/core/modules/node/config/install/
Drupal 9.4.3, PHP 7.4.29

Proposed resolution

Copying the format for similar action.configuration.* schemas in web/core/modules/node/config/schema/node.schema.yml seems to do the trick, e.g.:

action.configuration.node_unpublish_action:
  type: action_configuration_default
  label: 'Unpublish selected content'

action.configuration.node_publish_action:
  type: action_configuration_default
  label: 'Publish selected content'

action.configuration.node_save_action:
  type: action_configuration_default
  label: 'Save selected content'

Remaining tasks

I'll make a patch that does that.

User interface changes

None.

API changes

None.

Data model changes

Done.

Release notes snippet

Add schemas for system.action.node_save_action, system.action.node_unpublish_action, and system.action.node_publish_action

πŸ› Bug report
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
Node systemΒ  β†’

Last updated 1 minute ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States Kasey_MK

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024