I've installed CCK Links and Linkchecker (all latest releases) and created a node type with a Link field.

In the Link field I've entered a link to an non existing internal URL in the format of 'node/235'. Note that I've not included the fully qualified domain name. If I place the same link in the body of my node then Linkchecker correctly identifies the link in the body as page not found (404) but does not detect the same issue in the CCK Link field.

In the Linkchecker options I've deselected the option 'Check full qualified domain names only'.

CommentFileSizeAuthor
#39 linkchecker_cck_link_non-absolute_url_fails_to_extract2_D7.patch3.18 KBhass
#37 linkchecker_cck_link_non-absolute_url_fails_to_extract2.patch2.94 KBhass
#35 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch983 byteshass
#28 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#27 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#26 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#25 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#24 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#23 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#22 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#21 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#19 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#18 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#17 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#16 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#15 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#14 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#13 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#12 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#11 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#10 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#9 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#8 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#7 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#6 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#2 linkchecker_cck_link_non-absolute_url_fails_to_extract.patch981 byteshass
#1 linkchecker_cck_link_non-absolute_url_fails_to_extract_D6.patch981 byteshass

Comments

hass’s picture

Title: Internal CCK Links are not always reported » Internal CCK Links are not reported if not absolute urls
Status: Active » Needs review
StatusFileSize
new981 bytes

Great catch. Thank you for reporting. Here is a patch.

hass’s picture

Again, other filename for the robot.

hass’s picture

This may need to be done for "weblinks" and "links_weblink" input filters, too. Needs more investigation.

Status: Needs review » Needs work

The last submitted patch, linkchecker_cck_link_non-absolute_url_fails_to_extract.patch, failed testing.

hass’s picture

Status: Needs work » Needs review
hass’s picture

damn buggy testsystem

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

tobiasb’s picture

@hass the patches are all the same. Please have a look at one result http://qa.drupal.org/pifr/test/87629.

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

hass’s picture

@tobi: something is rotten with this testing robot and I cannot find the reason. One reason is - I cannot see successfull checks on qa.d.o. Now debugged down to path module that shows the path field on node forms, but does not save the url alias... I do not understand this as the user have all required permissions and all works fine on my box.

hass’s picture

Status: Needs review » Needs work

The last submitted patch, linkchecker_cck_link_non-absolute_url_fails_to_extract.patch, failed testing.

hass’s picture

Status: Needs work » Needs review
hass’s picture

Status: Needs review » Needs work

The last submitted patch, linkchecker_cck_link_non-absolute_url_fails_to_extract.patch, failed testing.

hass’s picture

Status: Needs work » Needs review
StatusFileSize
new983 bytes

Status: Needs review » Needs work

The last submitted patch, linkchecker_cck_link_non-absolute_url_fails_to_extract.patch, failed testing.

hass’s picture

Status: Needs work » Needs review
StatusFileSize
new2.94 KB

Final.

hass’s picture

Version: 6.x-2.4 » 6.x-2.x-dev
hass’s picture

hass’s picture

Title: Internal CCK Links are not reported if not absolute urls » Internal Links in cck, weblinks and links fields are not extracted
hass’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.