- Issue created by @demon326
- Status changed to Postponed: needs info
about 1 year ago 11:47am 21 September 2023 - 🇺🇸United States mark_fullmer Tucson
Thanks for reporting this. Can you clarify whether this is describing a shortcoming in the proposed change in 🐛 Direct URL to media file entity does not work because relative URL does not pass URL path validation Fixed , or in the current behavior of the module?
When I test the current, development version of the module, I am seeing the URL alias rendered as the hyperlink when viewing a page.
- 🇮🇳India iyyappan.govind Chennai, India
@mark_fullmer,
Thank you for the excellent module.
I've tested this issue on my local environment. I noticed that the URL alias is visible on the node view page. It seems that this conversion is being facilitated by the Filter plugin. However, in cases of Headless or decoupled architecture, the Canonical URL pattern may still be displayed. This is because the canonical URL is stored strongly in the database.
I believe it is necessary to save the URL alias directly in the database instead of canonical URL.
Thanks
- Status changed to Active
3 months ago 6:03am 15 August 2024 - Status changed to Closed: duplicate
3 months ago 2:33pm 16 August 2024 - 🇺🇸United States mark_fullmer Tucson
I believe it is necessary to save the URL alias directly in the database instead of canonical URL.
Doing this would have problematic impacts. What happens when the URL alias is updated on the referenced node? If there is no redirect in place, the referencing link would become broken.
As further rationale that the canonical URL should be stored, Drupal core always stores the canonical URL in its database tables, as does the widely-used pathauto → module.
Re-reading this issue description, I conclude that it is not describing a bug in the module, but rather, it is a feature request that can be described as the following User Story:
As a content editor, when I use the link autocomplete functionality, I want to see the URL alias in the editing interface rather than the canonical URL so that it is easier for me to see what the link pertains to.
Note that this user story is distinct from rendering the URL alias to the site visitor on page render, which this module already does.
As such, this is not a bug report, but a feature request and is in effect a duplicate of ✨ Show URL alias after autocomplete selection instead of internal route (e.g., /node/123) Needs work .
Therefore, I'm going to mark this issue as a duplicate. If this analysis/conclusion is missing something, please explain!