[Maintain-dev] [JIRA] Commented: (MNT-1414) Modules do not check for config files being present

Frederic Wenzel (JIRA) jira at osuosl.org
Mon Feb 20 17:12:28 PST 2006


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

The email class is going to be built-in maintain functionality. So we don't have a problem with missing configs there.

As Danny suggested, the config files are going to be periodically checked and disabled in case they are not found. This change will be emailed to the administrator.

> Modules do not check for config files being present
> ---------------------------------------------------
>
>          Key: MNT-1414
>          URL: http://bugs.osuosl.org/browse/MNT-1414
>      Project: Maintain
>         Type: Bug
>   Components: Modules
>     Versions: 3.0
>     Reporter: Frederic Wenzel
>     Assignee: Michael Clay
>     Priority: Urgent

>
>
> Modules currently do not check for their config files to be present. There are modules that might not have a config file, but most of them will have one and should not try to do anything without a valid config file.
> Before being activated, the module interface should check for a config file (preferably even for a valid one). If the module does not need a file, there should be no error, of course.
> For the enabled modules, a regular check should make clear that the expected config files are still in place. This could take place in the main includes file since it is loaded before every action maintain does.
> If it finds a missing (or broken?) config file, it automatically disables the respective module.
> This action should be logged, or emailed to the admin, or whatever. This issue therefore depends on the email interface.

-- 
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