Error with updating Setting for Discovery

Trying to update a setting in the Discovery tab, I get an error relating to “Setting::Discovered is not a subclass of Setting”

Expected outcome:
Be able to set the setting properly

Foreman and Proxy versions:
Foreman 3.3

Foreman and Proxy plugin versions:

Distribution and version:
CentOS 7

Other relevant data:
Any of the values I try to give this error

So, I figured out more info on this, but wanted to still make the ticket. It appears it’s an issue with the file /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-21.0.1/app/models/setting/discovered.rb

By changing “class Setting::Discovered” to be “class Setting::Discovered < ::Setting” and restarting foreman it seems to fix the issue.

What the hell… Same problem here… I don’t understand bugs like this… Changing settings should be tested before releasing a new version. Thanks btoneill for the solution! Is working!