- Issue created by @gugalamaciek
- Status changed to Needs review
over 1 year ago 7:15am 7 March 2024 - last update
over 1 year ago 86 pass - last update
over 1 year ago 86 pass I think "Check status of the link" is too long of a default label. How about "Retest" or "Check" or something?
- Status changed to Needs work
over 1 year ago 2:07pm 4 April 2024 - 🇨🇦Canada joseph.olstad
joseph.olstad → made their first commit to this issue’s fork.
- 🇨🇦Canada joseph.olstad
hmm, I tested in my view, seeing this:
Error: Call to a member function label() on null in Drupal\linkchecker\Controller\LinkcheckerStatusController->checkStatus() (line 56 of modules/contrib/linkchecker/src/Controller/LinkcheckerStatusController.php).
- 🇨🇦Canada joseph.olstad
This latest patch adds a "Check links" button on the Maintenance accordion on the linkchecker settings form
/admin/config/content/linkchecker
This button is back by popular demand, clients asked , they get.
- 🇨🇦Canada joseph.olstad
Credit should go to @jamesyao for the Check links button functionality.
- First commit to issue fork.
- Merge request !114Issue #3426268 by gugalamaciek, joseph.olstad: Allow to check link status on demand, Link checks on demand → (Open) created by joseph.olstad
- 🇨🇦Canada joseph.olstad
MR 111 is for 2.0.x
MR 114 is for 2.1.xI highly recommend that everyone use 2.1.x instead of 2.0.x, 2.0.x has a dependency on der , a very heavy module that should be avoided whenever possible.
- 🇦🇺Australia imclean Tasmania
Using the MR with 2.1.x, I'm seeing the following error when trying to view a report:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 142 of /web/core/lib/Drupal/Core/Entity/EntityTypeManager.php).
The issue seems to come from here:
/web/modules/contrib/linkchecker/src/LinkCheckerLinkAccessControlHandler.php(68): Drupal\linkchecker\Entity\LinkCheckerLink->getParentEntity()
/web/modules/contrib/linkchecker/src/LinkCheckerLinkAccessControlHandler.php(58): Drupal\linkchecker\LinkCheckerLinkAccessControlHandler->checkParentEntityAccess()Does the view need to be modified before this feature can be used?
- 🇦🇺Australia imclean Tasmania
Clearing the links and rechecking fixed the problem.
- Issue was unassigned.
- Status changed to Needs review
7 days ago 10:58pm 22 July 2025 - 🇦🇺Australia imclean Tasmania
There's a problem with this approach.
When there's a broken link on a page, usually the page needs to be updated with the new link or the link is removed altogether.
Using this MR, you can recheck a single link or all links, which it does, but it will continue to return the same error if the remote link isn't valid any more.
It might be more useful to rescan the entity/entities the link was on.
In other words, the broken link itself isn't the problem, the problem is the entity which contains the broken link.
- 🇨🇦Canada joelpittet Vancouver
RE #23 I agree with you @imclean — re-scanning the entity on this manual task would make it significantly more useful. Just to confirm, which MR are you reviewing? Based on Joseph’s comment and yours, I’m guessing it’s MR !114, but want to be sure we’re all looking at the same thing.