Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
system.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Dec 2006 at 02:03 UTC
Updated:
21 Dec 2006 at 17:16 UTC
Jump to comment: Most recent file
At some point the dependency system was modified and modules that where missing .info files began making blank entries in the "Other" category on the module page. This one line patch fixes this by not adding the dependency element to the info array when we didn't get anything from the info file.
Marking RTBC due to the trivial nature of the fix.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | module_info.patch | 803 bytes | ChrisKennedy |
| #2 | hide_missing_info.patch_0.txt | 561 bytes | neclimdul |
| hide_missing_info.patch.txt | 898 bytes | neclimdul |
Comments
Comment #1
ChrisKennedy commentedThe patch has a bunch of html junk at the top and bottom.
Comment #2
neclimdulThat's what I get for copying a patch from a remote PC through IE. That'd be why I never use windows... Never touching windows again! (I wish)
Correct patch attached.
Comment #3
neclimdulOh and status...
Comment #4
dwwcritical? please. ;) this doesn't utterly break your site, so it's not critical...
that said, the patch looks reasonable. haven't tested, but i don't doubt it's RTBC.
Comment #5
ChrisKennedy commentedOops, I duplicated this issue and came up with a patch. What about this doing it this way? It allows more .info logic to be added in the future.
http://drupal.org/node/88030 was the problem issue btw.
Comment #6
neclimdul+1 to Chris' patch. That's probably a better way to do it and it hints to later people how to add add .info logic without revisiting this bug :)
Comment #7
dries commentedCommitted to CVS HEAD. Thanks.
Comment #8
(not verified) commented