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

  1. On fresh Drupal 11.4 run drush en -y geolocation
  2. Run: drush en -y geolocation_gpx
  3. Install aborts with the DiscoveryTrait error above.

Proposed resolution

Either:

  1. 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
  2. Add a delete-form link template + form handler to GeolocationGpx so the deriver actually produces the plugin.
Command icon 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

dkmishra created an issue. See original summary.

dkmishra’s picture

Status: Active » Needs review
StatusFileSize
new598 bytes

Patch attached

shank115’s picture

Applied the patch from comment #2 locally and verified - drush en -y geolocation_gpx now completes.

christianadamski’s picture

Status: Needs review » Needs work

Could you turn the patch into an MR? Thank you!

christianadamski’s picture

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.