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 is to
index.php?q=sites/all/modules/taxonews/INSTALL.txt
which gave me a page not found in my site log.
My site is in a subdirectory, and we do not have clean URLS, if that is relevant, but the path is not valid with or without clean URLs.
Comment | File | Size | Author |
---|---|---|---|
#12 | unclean-urls-1025524-12.patch | 1.94 KB | fgm |
#10 | unclean-urls-1025524-10.patch | 1.4 KB | fgm |
#4 | taxonews_1025524_3.patch | 5.55 KB | fgm |
#3 | taxonews_1025524_1.patch | 2.35 KB | fgm |
#2 | taxonews_1025524.patch | 1.75 KB | fgm |
Comments
Comment #1
fgmGood catch: I did not test without clean URLs. The link should be sites/all/modules/taxonews/INSTALL.txt whether clean URLs are there or not. D7 has a mechanism in url() for this (the "script" option), but not D6.
OTOH, it seems you saying the link does not work when clean URLs are on, although it should work in that case. Can you confirm ?
Comment #2
fgmGot a patch to catch it during testing. On to the fix itself, now.
Comment #3
fgmActually, because of Simpletest issue #1027210: DrupalWebTestCase::clickLink() can be wrong, the test is a bit more involved.
Comment #4
fgmThs patch below has been committed to the dev branch.
Can you either test with this patcha applied or just checkout the dev version when it gets rerolled to see if this fixes your case too ?
Comment #5
verta CreditAttribution: verta commentedThanks for the patch, will try the -dev, having trouble getting the patch applied.
Comment #6
fgmThat must be because the patch applies to the 6.x-1.x-dev version. You should be using it, as it contains numerous fixes and improvements over 6.1.0.
Comment #8
fgmPatch bot is now live: this patch applies to 6.x-1.x-dev, setting accordingly.
Comment #9
fgmErrr... no it will no longer apply since it has already been committed. Just do a test with the dev version which was rolled last night. Let's forget the bot for now.
Comment #10
fgmTest catches the error on 7.x
Comment #12
fgmFixed as per #1009120: url() fails on files without clean URLs.
Comment #13
fgmWas actually fixed 3 years ago in (CVS-style) version 1.10.8.20.