Bug #17076
closedDuplicate "Smart Class Parameter" entries created whenever puppet class is imported
Description
Bugzilla Link - https://bugzilla.redhat.com/show_bug.cgi?id=1384017
Description of problem:
- Whenever we import the puppet classes, it creates duplicate entries of the "Smart Class Parameters" in the WebUI.
If we run the hammer command to list the smart class parameter then it matches with the puppet environment count.
If we remove a puppet environment the smart class count is decreased in hammer but not on the WebUI.
How reproducible:
- Always
Steps to Reproduce:
-> Create a content view with puppet modules (with smart class parameter).
-> Go to the puppet classes page and import the puppet classes.
Actual results:
- Duplicate smart class parameter entries are created in the WebUI.
Expected results:
- No duplicate smart class parameter is expected without an association with the puppet environments / puppet classes.
Additional info:
- Duplicate entries are increasing by one whenever we import the classes (only in the WebUI, not on the hammer output).
- It is observed that only one smart class parameter is associated with the puppet class and the rest are duplicate entries (no association with puppet classes / environments).
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3999 added
Updated by Dominic Cleal over 8 years ago
- Status changed from Ready For Testing to Rejected
PR was closed, the old parameters exist to prevent losing history.