Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Anonymous (not verified)
Created:
13 Jun 2009 at 02:22 UTC
Updated:
25 Mar 2017 at 20:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedMy link is wrong. I meant to link the changes on this patch #372743: Body and teaser as fields.
Comment #2
Anonymous (not verified) commentedComment #4
dave reidSo if your module is dependent on a required module, just don't put in as a requirement in the .info file. We don't list:
In all the core sub-modules.
Comment #5
Anonymous (not verified) commentedLike I said: I know the workaround. However, if a contrib module depends on an optional core module that becomes required in a later version, the module may become disabled and could not be re-enabled even though all of the dependencies are enabled. The admin module form says that the module's dependency is missing when in fact it is enabled and required.
In Drupal 6, I can add a core required module as a dependency to another module, and that module can still be enabled and disabled.
Comment #6
webchickI ran into this today, and it was a complete WTF:
The more I think about it, the more I really don't like hiding required modules from this page anyway, though. It really obfuscates how Drupal works. I'm wondering if we should fix this by reverting #293223: Roll back "Hide required core modules".
On the other hand, this likely fails when requiring hidden = TRUE modules as well, which we /do/ want hidden, even when they do exist. So I think there's still a bug here to sniff out.
Comment #7
jpmckinney commentedThis patch fixes the bug in the title of this issue. It will also make it such that modules with "required = TRUE" will not appear in the "Requires: !module-list" list.
Comment #8
jpmckinney commentedComment #9
jpmckinney commentedOops, previous patch made it such that "Required by: !module-list" showed modules with "required = TRUE". Fixed.
Comment #10
Anonymous (not verified) commentedI just tested this patch to see the effects. I altered Devel module's info file to add a dependency on node, which is a required module.
BEFORE patch applied:
http://skitch.com/bangpound/n9p7y
AFTER patch applied:
http://skitch.com/bangpound/n9p7j
It looks good to me! But since it's related to deep system stuff, I will defer to others for RTBC.
Comment #11
realityloop commentedWorked here too
Comment #12
webchickYAY! It's great to have this bug squashed.
Committed to HEAD! Thanks!
Now if only we can render it unnecessary by backing out the changes at #293223: Roll back "Hide required core modules".. ;)