How to inherit redmine's Enumeration?
i am developing a risks management plugin (the code is at: http://github.com/danielneis/Redmine-Risks-Management/tree/master/vendor/plugins/redmine_risks/) , and need to create two new enumerations, one for Risk Status and one for Risk Response Strategy. I have declared them inheriting from Enumeration , but they didn't appeared in enumerations list, even if i insert records manually at the database. I tried to alter redmine/app/models/enumeration.rb , adding "require_dependency", but it didn't work, so i have modified the "self.get_subclasses" method to look like:
def self.get_subclasses (@@subclasses[Enumeration]+[RiskResponseStrategy,RiskStatus]) end
Does anyone knows the best way to do it?
Isotrol RiskMNGT Redmine Plugin manage the concepts of risk, incident, impact, probability, exposure level, mitigation strategy, contingency strategy, historic database according to the OpenUP and CMMi metodology.
It is a beta version.
You can download it here: