Bug #2785

clone method in managed.rb causes infinite loop

Added by Joseph Magen about 4 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Joseph Magen
Category:Host creation
Target version:Sprint 23
Difficulty: Bugzilla link:1107715
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.1Release relationshipAuto

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 param... Closed 09/11/2014

Associated revisions

Revision e67fc0bd
Added by Joseph Magen over 3 years ago

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

History

#1 Updated by Joseph Magen over 3 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 over 3 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Dominic Cleal over 3 years ago

  • Category set to Host creation
  • Target version set to Sprint 23

#4 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.5.1

#5 Updated by Joseph Magen over 3 years ago

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

#6 Updated by Bryan Kearney over 3 years ago

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

#7 Updated by Dominic Cleal about 3 years ago

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

Also available in: Atom PDF