Project

General

Profile

Bug #2785

clone method in managed.rb causes infinite loop

Added by Joseph Magen almost 6 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Do we even need this overwrite the rails clone method anyway? The clone method in hosts_controller does not use the model method.


Related issues

Related to Foreman - Bug #7407: Cloning a hostgroup do not clone Puppet classes and parametersClosed2014-09-11

Associated revisions

Revision e67fc0bd (diff)
Added by Joseph Magen about 5 years ago

fixes #2785 - host model clone method also copies relationships using deep_cloneable gem

Revision 68561700 (diff)
Added by Joseph Magen almost 5 years ago

fixes #2785 - host model clone method also copies relationships using deep_cloneable gem

(cherry picked from commit e67fc0bd5a4c827c225ab10c7f75ea0264701f42)

History

#1 Updated by Joseph Magen about 5 years ago

  • Description updated (diff)

host clone method in managed.rb is not used. There is a clone method in host_controller that is used.

#2 Updated by Joseph Magen about 5 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Dominic Cleal about 5 years ago

  • Category set to Host creation
  • Target version set to 1.8.3

#4 Updated by Dominic Cleal about 5 years ago

  • Legacy Backlogs Release (now unused) set to 16

#5 Updated by Joseph Magen about 5 years ago

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

#6 Updated by Bryan Kearney almost 5 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1107715

#7 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #7407: Cloning a hostgroup do not clone Puppet classes and parameters added

Also available in: Atom PDF