Problem/Motivation
Enabling geolocation_gpx fails with:
In DiscoveryTrait.php line 53:
The "entity:delete_action:geolocation_gpx" plugin does not exist. Valid plugin IDs for Drupal\Core\Action\ActionManager are: node_promote _action, node_make_sticky_action, node_make_unsticky_action, node_unpromote_action, user_add_role_action, user_block_user_action, user_ca ncel_user_action, user_unblock_user_action, user_remove_role_action, entity:save_action:ai_file, entity:save_action:block_content, entity :save_action:comment, entity:save_action:file, entity:save_action:media, entity:save_action:menu_link_content, entity:save_action:node, e ntity:save_action:taxonomy_term, entity:save_action:user, action_message_action, entity:publish_action:block_content, entity:publish_acti on:comment, entity:publish_action:media, entity:publish_action:menu_link_content, entity:publish_action:node, entity:publish_action:path_ alias, entity:publish_action:taxonomy_term, entity:unpublish_action:block_content, entity:unpublish_action:comment, entity:unpublish_acti on:media, entity:unpublish_action:menu_link_content, entity:unpublish_action:node, entity:unpublish_action:path_alias, entity:unpublish_a ction:taxonomy_term, entity:delete_action:comment, entity:delete_action:media, entity:delete_action:node, action_send_email_action, actio n_goto_action
Steps to reproduce
- On fresh Drupal 11.4 run
drush en -y geolocation - Run:
drush en -y geolocation_gpx - Install aborts with the DiscoveryTrait error above.
Proposed resolution
Either:
- Remove
config/install/system.action.geolocation_gpx_delete_action.yml(no delete-form UI exists for this entity type, so the action is unreachable anyway), or - Add a delete-form link template + form handler to GeolocationGpx so the deriver actually produces the plugin.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3614619-remove-invalid-delete-action-config.patch | 598 bytes | dkmishra |
Issue fork geolocation-3614619
Show commands
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 #2
dkmishra commentedPatch attached
Comment #3
shank115 commentedApplied the patch from comment #2 locally and verified -
drush en -y geolocation_gpxnow completes.Comment #4
christianadamski commentedCould you turn the patch into an MR? Thank you!
Comment #6
christianadamski commentedhttps://git.drupalcode.org/project/geolocation/-/merge_requests/155
Thanks!