Problem/motivation

Since version 7.0.15, pasting in a path alias no longer results in a match.

Steps to reproduce

  1. Edit a node using Linkit in a field or in CKEditor.
  2. Try to add a link by typing in the target's path (e.g., /test).
  3. Observe that instead of finding a matching node to select, the error message "No content suggestions found. This URL will be used as is" appears.
  4. Install version 7.0.14 and observe that path-matching works as expected.

Proposed resolution

I haven't looked yet, but hopefully it won't be too hard to find and correct the error introduced in the 7.0.14 => 7.0.15 update.

Comments

kasey_mk created an issue. See original summary.

mark_fullmer’s picture

Thanks for reporting this issue. In my own manually testing of this, I do not see any difference in behavior when testing the steps above using version 7.0.15, 7.0.14, or 7.0.13. In each case, if I type /test or paste /test, the entity suggestion is found.

I am using a "generic" installation. Can you confirm that you are similarly testing with a "generic" installation and you can reproduce the problem in that context? Specifically, does this happen on an installation from Drupal's "Standard" profile, with Linkit enabled and added to the Basic HTML text format using Linkit's "Default" profile?

If this is happening based on more specific configuration, but not in that generic context, my best guess would be that #3498711: Entity suggestion found from URL is not filtered by bundle , included in the 7.0.15 release, might play a role -- note that bundle filtering has changed. Does that give you any leads on what configuration might trigger this?

kasey_mk’s picture

Ah, thank you and apologies! I had looked right past my custom matcher in my testing. Removing it resolves the error I reported, and I will follow that lead as I work on updating it. Appreciate your time!

kasey_mk’s picture

Status: Active » Closed (works as designed)

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.