How to inherit redmine's Enumeration?
Added by Daniel Neis Araujo about 15 years ago
Hello,
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?
Replies (2)
RE: How to inherit redmine's Enumeration? - Added by nicolas bertet about 15 years ago
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:
http://forge.isotrol.org/projects/list_files/org00001-riskmngt
screenshot:
http://forge.isotrol.org/wiki/org00001-riskmngt
Regards,
Nicolas
http://www.isotrol.org