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.
The links to the report of available updates and the settings page are broken. The patch points them to the new, correct, path.
To reproduce:
- On the main navigation, select Administer--Help
- Under Help topics, select Update status
- Select either of the links in the 2nd paragraph
Results: Get a page not found error
Expected: Either see the update report, or the update module settings page.
Comment | File | Size | Author |
---|---|---|---|
#3 | broken-update-module-help-links_1.patch | 2.06 KB | dww |
#1 | broken-update-module-help-links.patch | 1.89 KB | ScoutBaker |
broken-update-module-help-links.patch | 1.9 KB | ScoutBaker | |
Comments
Comment #1
ScoutBaker CreditAttribution: ScoutBaker commentedCorrect patch file with fixed linefeeds.
Comment #2
dwwGood catch. Wow, that's funny... I'm the one who renamed those paths (http://drupal.org/node/165140), and update.module is the part of core I maintain. You'd think I would have gotten this right. ;)
Anyway, applies cleanly and works as advertised. Definitely RTBC.
Thanks!
-Derek
Comment #3
dwwHere's a re-roll from the webroot, where we prefer to have core patches rolled to make it easier for the core maintainers to apply and commit them... Otherwise, identical patch, so still RTBC.
Comment #4
Gábor HojtsyCommitted, thanks.
Comment #5
ScoutBaker CreditAttribution: ScoutBaker commented@dww - Thanks for the re-roll. I actually did run my patch from webroot, but I see that my client didn't use the -p switch. I'll see about fixing that for the next time I submit something.
Comment #6
dww@ScoutBaker. Right, you also left off the -p. ;) But, observe:
http://drupal.org/files/issues/broken-update-module-help-links_0.patch
that means "patch the file called 'update.module'" -- no directories, nothing. therefore, you have to "cd modules/update; patch < ../../foo" to apply the patch, or manually type in the path once patch complains it can't find the "update.module" in the root dir.
vs.
http://drupal.org/files/issues/broken-update-module-help-links_1.patch
now, the patch knows where the file lives, so you can start from the root, and use "patch -p0 < foo" and it works.
happy patching,
-derek
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.