Project

General

Profile

Bug #7620

When cloning host, old hostname is no longer shown

Added by Dominic Cleal almost 4 years ago. Updated about 1 month ago.

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

Description

In #3136, the "Clone host" page was changed to show the old hostname but no longer does. It should show the title "Clone host original.example.com" but instead just shows "Clone host".

The view (app/views/hosts/new.html.erb) relies on @clone_host in the controller's clone method being the original host, but it's now set to the new host object.


Related issues

Related to Foreman - Feature #3136: host cloning should auto-suggest a new IP addressClosed2013-09-22

Associated revisions

Revision 30534f9c (diff)
Added by Ori Rabin almost 4 years ago

Fixes #7620: When cloning a host show old host name

Revision 106a8a85 (diff)
Added by Ori Rabin almost 4 years ago

Fixes #7620: When cloning a host show old host name

(cherry picked from commit 30534f9c5fb1d7f2dc2f650f1eaf0d0eff1ccbbb)

History

#1 Updated by Dominic Cleal almost 4 years ago

  • Related to Feature #3136: host cloning should auto-suggest a new IP address added

#2 Updated by Ori Rabin almost 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Ori Rabin

#3 Updated by Ori Rabin almost 4 years ago

  • Target version set to 1.7.2

#4 Updated by The Foreman Bot almost 4 years ago

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

#5 Updated by Ori Rabin almost 4 years ago

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

#6 Updated by Daniel Lobato Garcia almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 22

Also available in: Atom PDF