Description of problem: webUI wrongly says that "Some Puppet Classes are unavailable in the selected environment" when editing hostgroup This seems to be the same issue being discussed here: https://projects.theforeman.org/issues/34402 This is also affecting Satellite 6.12 and 6.13 (at least, didn't test others) Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Enable puppet integration on Satellite 2. Import some classes to one environment 3. Edit a hostgroup, select the environment where the classes were imported and assing at least one class to the hostgroup. Save it 4. Go back to the hostgroup details and you'll see a warning on the tab "Puppet ENC" Actual results: Warning complaining about classes not available in selected environment Expected results: no errors, unless classes are ACTUALLY missing from the environment Additional info: