Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Link Checker is not compatible with the Field Collections module.
Comment | File | Size | Author |
---|---|---|---|
#8 | field-collection-compatibility-1888102-8.patch | 1.58 KB | mdixoncm |
#7 | field-collection-compatibility-1888102-7.patch | 1.31 KB | Samvel |
#6 | field-collection-compatibility-1888102-6.patch | 1.35 KB | Samvel |
Comments
Comment #1
hass CreditAttribution: hass commentedRepro plan? Patch?
Comment #2
hass CreditAttribution: hass commentedComment #3
hass CreditAttribution: hass commentedReproduced this and made a node dump that shows that only a reference is visible in the node object and not the raw data. This does not integrate in current logic's and requires a lot of extra work. I'm not going to work on this myself.
Comment #4
larowlanSo to get this going, apply #1946252: Create hooks to allow modules to extract and replace links then add something like so in your custom module
Works a treat.
Comment #5
larowlanSo to get this going, apply #1946252: Create hooks to allow modules to extract and replace links then add something like so in your custom module
Works a treat.
Comment #6
Samvel CreditAttribution: Samvel commentedHi Guys, patch ready
Comment #7
Samvel CreditAttribution: Samvel commentedwas small mistake. new patch appended
Comment #8
mdixoncm CreditAttribution: mdixoncm commentedLoving the patch - and it's working nicely - however, if you do end up with a broken link in the field collection then currently it is not possible to view this in the report - I have updated the patch to allow the linkchecker to add field_collection fields to the list of fields it does it's access control checks on ...
Comment #9
mstrelan CreditAttribution: mstrelan commentedPerhaps it would be better for linkchecker to scan all entity types / bundles instead of just nodes.
Comment #10
aitala CreditAttribution: aitala commentedThis patch seems to work... but it does need to display broken links...
Eric
Comment #11
BWPanda CreditAttribution: BWPanda commentedPatch from #8 works.
Client discovered a few broken links themselves, then asked why they weren't appearing on the 'Broken links' page. Turns out they were all in a field collection. Applying the patch and re-scanning the site resulted in 5 pages of broken links the client will now have to wade through :-)