[Maintain-dev] [JIRA] Commented: (MNT-1413) build_dhcp module installs without config file

Frederic Wenzel (JIRA) jira at osuosl.org
Fri Feb 17 14:32:11 PST 2006


     [ http://bugs.osuosl.org/browse/MNT-1413?page=comments#action_10811 ]
     
Frederic Wenzel commented on MNT-1413:
--------------------------------------

The warning, by the way, is an error in the module framework: it will also display an error if the module does not even *have* a config file at all (and is not supposed to either). I am going to fix this.

The instanciation of a module should never fail or lead to a warning due to probs in the Constructor.

So I will only include the config file then if there is one. Enabling the module, however, should fail.

> build_dhcp module installs without config file
> ----------------------------------------------
>
>          Key: MNT-1413
>          URL: http://bugs.osuosl.org/browse/MNT-1413
>      Project: Maintain
>         Type: Bug
>   Components: Modules
>     Versions: 3.0
>     Reporter: Michael Clay
>     Assignee: Frederic Wenzel
>     Priority: Minor

>
>
> upon running ./bin/modules.php -i build_dhcp it will still successfully install the module even if the config file, build_dhcp.cfg isn't present.  A warning is issued by the install method that it couldn't find the config file to open, but the module is still installed.  Install should abort with a failure in this instance, citing the reason as a missing config file.  Further, this check should probably also be included upon enabling the module, as enabling it without a config file would be rather counterproductive.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://bugs.osuosl.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



More information about the Maintain-dev mailing list