Feature #17548

Smart class parameters without a connected puppetclass shouldn't be showed in the index

Added by Ori Rabin 7 months ago. Updated 7 months ago.

Status:Closed
Priority:Normal
Assigned To:Ori Rabin
Category:Smart Variables
Target version:Team Ivan Iteration 7
Difficulty: Bugzilla link:1383386
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4078
Story points-
Velocity based estimate-
Release1.15.0Release relationshipAuto

Description

Smart class parameters are not deleted when a puppetclass is deleted, they are kept as historical records.
Each delete and import of the puppetclass will cause more disconnected records of it's parameters.
Currently they are not in use since they can't be connected to the same puppetclass again and can only be manually copied to the new parameters.
This creates duplication of orphaned smart class parameters in the index.
Hiding them will still allow to access the data in case of an accidental delete but will clear up the orphaned records from the index page.


Related issues

Related to Foreman - Feature #17810: Delete smart class parameter when a puppet class is deleted Closed 12/21/2016

Associated revisions

Revision f8a2b33e
Added by Ori Rabin 7 months ago

Fixes #17548 - Orphaned smart class parameters are hidden

History

#1 Updated by Ori Rabin 7 months ago

  • Bugzilla link set to 1383386

#2 Updated by Ori Rabin 7 months ago

  • Target version set to Team Ivan Iteration 7

#3 Updated by The Foreman Bot 7 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4078 added

#4 Updated by Ori Rabin 7 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Dominic Cleal 7 months ago

  • Release set to 1.15.0

#6 Updated by Ori Rabin 6 months ago

  • Related to Feature #17810: Delete smart class parameter when a puppet class is deleted added

Also available in: Atom PDF