Missing action.configuration schemas for some node actions

Created on 1 August 2022, over 2 years ago
Updated 11 September 2024, 3 months 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 about 1 hour 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.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Going to close for now but if still a valid bug please reopen.

  • πŸ‡ΊπŸ‡ΈUnited States Kasey_MK

    I'm on Drupal 10.3.3 now and config_inspector 2.1.9 and I don't have the (deprecated) action module installed, and I'm still getting this error. I haven't tried a fresh install so it's possible I've got other things going on, but here's an updated patch for what I'm seeing.

Production build 0.71.5 2024