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

Frederic Wenzel (JIRA) jira at osuosl.org
Fri Feb 17 15:44:51 PST 2006


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
 Assigned to: 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