Improve PluginNotFound exception to include possible shorthand action IDs

Created on 10 August 2022, about 2 years ago
Updated 4 September 2024, about 2 months ago

Problem/Motivation

#3302583: Allow config actions to be addressed via a shorthand alias โ†’ added the ability to use shorthand notation for config actions to reduce the noise in things that leverage the Config Actions API - see #3292285: Add the ability to define configuration actions in recipes โ†’ .

I would be handy if the excellent PluginNotFoundException was augmented to include details about the shortand action IDs that are available if the config is a config entity and has shorthand actions.

Proposed resolution

Catch PluginNotFoundException and augment them somehow.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Configuration entityย  โ†’

Last updated 1 day ago

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom alexpott ๐Ÿ‡ช๐Ÿ‡บ๐ŸŒ

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

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