Project

General

Profile

Actions

Bug #14960

closed

alias_method_chain in settings helper breaks plugins

Added by Ori Rabin over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Settings
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Adding select boxes to Settings changed the value method in settings_helper: https://github.com/theforeman/foreman/commit/ad603e4023c5400c51674f1fa3635565f7b3b552#diff-99f01fed5094bece4bbc97c882f4b666R4.
Discovery extends the settings_helper and adds it's own alias_method_change for value.
As a result trying to use discovery returns the error: `alias_method': undefined method `value' for module `#<Module:0x00000006f36320>' (NameError)


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #3200: Add select boxes to SettingsClosedAmir Fefer10/04/2013Actions
Related to Discovery - Refactor #14964: Use collections settings API for taxonomyClosedLukas Zapletal05/09/2016Actions
Actions

Also available in: Atom PDF