Problem/Motivation

The SearchController generates a result set with static hrefs and data attributes that aren't used to dynamically update the hrefs attributes if the targeted node's path changes.

This is being addressed on #3213528: Integrate Linkit through the integration with Linkit module, but the Gutenberg module should provide a solution when Linkit module is not in use.

Proposed resolution

Use the un-aliased node path to prevent the link from breaking when the targeted node's path changes.

CommentFileSizeAuthor
#2 use-unaliased-node-paths-3247743-1.patch595 bytesroborn

Issue fork gutenberg-3247743

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

roborn created an issue. See original summary.

roborn’s picture

Status: Active » Needs review
StatusFileSize
new595 bytes
thorandre’s picture

Well done! Looking good.

marcofernandes made their first commit to this issue’s fork.

  • marcofernandes committed 632372f on 8.x-2.x authored by roborn
    Issue #3247743 by roborn, marcofernandes, thorandre: Use un-aliased node...
marcofernandes’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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