Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
update.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jan 2008 at 08:27 UTC
Updated:
23 Jan 2008 at 17:11 UTC
Jump to comment: Most recent file
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:
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 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 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) commentedAutomatically closed -- issue fixed for two weeks with no activity.