Bug #4679

Duplicate class and group memberships should be removed

Added by Igal Koshevoy over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:09/01/2010
Priority:Normal Due date:
Assignee:Igal Koshevoy % Done:

0%

Category:-
Target version:1.0.4
Keywords: Affected URL:
Branch:http://github.com/jhelwig/puppet-dashboard/tree/bug-4679-remove-duplicate-class-and-group-memberships Affected Dashboard version:
Votes: 0

Description

The recently-completed #4635 prevents the user from adding the duplicate classes and groups. However, existing duplicate entries are still in the database.

A migration should be created to remove these duplicates.


Related issues

related to Puppet Dashboard - Bug #4635: Nodes should only directly belong to a class/group once. Closed 08/26/2010

History

Updated by Jacob Helwig over 1 year ago

  • Assignee set to Jacob Helwig

Updated by Jacob Helwig over 1 year ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Assignee changed from Jacob Helwig to Igal Koshevoy
  • Branch set to http://github.com/jhelwig/puppet-dashboard/tree/bug-4679-remove-duplicate-class-and-group-memberships

Igal,

I’ve added a migration to remove the duplicate (redundant) class, and group memberships for nodes, and groups. I’d especially appreciate any input on the “warning” messages displayed if any duplicates were found.

Updated by Igal Koshevoy over 1 year ago

  • Status changed from In Topic Branch Pending Review to Closed

Jacob: Works great, thanks! I’ve merged it into next.

Also available in: Atom PDF