This issue is similar to #2551141. Here are the steps you need to implement to recreate the issue:

  1. Create a node and use alias /test-node
  2. Delete the node
  3. Create a new node and use the alias /test-node
  4. You will receive an error URL alias found

The alias should be deleted when the node is deleted.

CommentFileSizeAuthor
#3 delete-node-alias-2551999-3.patch586 bytesalbertski

Comments

albertski created an issue. See original summary.

albertski’s picture

albertski’s picture

Component: node system » path.module
Priority: Major » Critical
Status: Active » Needs review
StatusFileSize
new586 bytes

Using hook_ENTITY_TYPE_delete() to delete the alias.

attiks’s picture

Priority: Critical » Major
Issue tags: +Needs tests

needs tests

larowlan’s picture

Status: Needs review » Closed (duplicate)