-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the ability to link to unpublished Drupal pages with a node ID #17872
Comments
@gracekretschmer-metrostar Randi H. found a regression in the CMS. This isn't on fire, but we should see about building in this tech debt to an upcoming sprint. This used to work so I'm assuming a regression happened at some point in the last month or so |
@keisterj-oddball to be added to do some discovery work to understand how this originally happened and how it was discovered. |
@RLHecht - do you know when you first noticed this issue (approximately)? I have tried a lot of things to fix this with nothing working yet. Right now, I am trying to figure out if this was an issue before the Drupal 10 upgrade or after. |
@anantais I would say for a few months. I asked a few other people on our team and they said the same. We noticed it after the node finder changed appearance, which I think was a Drupal 10 change so it probably started after. But that's just our hunch! |
Update: The problem seems to be with Linkit but so far I have not found anything obviously wrong. There is a checkbox in Linkit config for showing unpublished nodes (and that is checked). I tried changing permissions, reverting to older modules and looking through recent updates. At this point I am wondering if another module is an issue so I will look a little further back in the history of our module updates. |
This seems like it could be an issue related to the Drupal 10 upgrade. The patch I applied has been around for a while but was re-released for Drupal 10. It does not appear as though we were using a patch before then. Here is the issue - https://www.drupal.org/project/linkit/issues/3049946 |
@anantais this has been completed, correct? I wanted to confirm before I closed. |
User Story or Problem Statement
As a content author building out new Drupal pages, I need to be able to link to these pages easily using node IDs from within Drupal.
Drupal no longer allows an editor to link with a node ID to an unpublished page by typing in the H1 of the page.
Description or Additional Context
When creating a link within Drupal, the CMS used to allow you to type in the H1 of an unpublished page and it would pull up the node ID. Now if you start typing the H1 of an unpublished page, Drupal can't find it. In order to set up a link you need to manually add the node ID by typing /node/[nodeID] in the link field. Not sure why or when Drupal lost this functionality but it's much easier for an editor to find the node by typing the H1.
Note that the old way of adding a node ID still works with published pages.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: