Project

General

Profile

Actions

Bug #11965

closed

Host group w/config group clone reports four "can't be blank" validation errors for name

Added by Dominic Cleal almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host groups
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When cloning a host group, the "name" field is validated four times leading to an error on the form that says "can't be blank, can't be blank, can't be blank, and can't be blank".

Two of the instances come from a duplicate "validates :name" in hostgroup.rb itself and is easy to fix, but the extra one appears to be coming from something validating the model a second time.

Tested on b0eaf7f.

Actions

Also available in: Atom PDF