Currently in the d8 version, linkit is using the aliased path for an entity but this will leave broken links behind if the alias changes.

It would be better to use the internal drupal path (like the d7 version did), or at least provide people the option to choose between the two.

Patch for internal path coming shortly.

CommentFileSizeAuthor
#2 2692619-linkit-use-internal-path-1.patch509 bytesrikki_iki
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rikki_iki created an issue. See original summary.

rikki_iki’s picture

Status: Active » Needs review
FileSize
509 bytes
stBorchert’s picture

Status: Needs review » Reviewed & tested by the community

Works as expected. Thanks for the patch.

anon’s picture

Status: Reviewed & tested by the community » Closed (outdated)

This will be handled in a different way with 8.x-5.x. A filter will handle this to use the parse the link.

anon’s picture

The filter uses $url = $entity->toUrl()->toString(TRUE); and I don't think this will be a problem, but feel free to reopen this again if you disagree with me.