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

Frederic Wenzel (JIRA) jira at osuosl.org
Fri Mar 3 14:48:40 PST 2006


     [ http://bugs.osuosl.org/browse/MNT-1414?page=history ]
     
Frederic Wenzel resolved MNT-1414:
----------------------------------

      Assign To: Frederic Wenzel  (was: Michael Clay)
     Resolution: Fixed
    Fix Version: 3.0

Automated config tests are now executed on every instanciation of a module. Also, they are not installed anymore without passing the test.

Fixed in SVN r4242

> 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: Frederic Wenzel
>     Priority: Urgent
>      Fix For: 3.0

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