Project

General

Profile

Bug #14955

Error instead of nice validation message when creating host with invalid mac

Added by Ori Rabin over 4 years ago. Updated over 2 years ago.

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

Description

Steps to reproduce:

1. Created a new host.
2. Add one interface as primary.
3. Make sure everything is valid for the host except the mac.
4. Try to save.

Expected:
Validation error about the invalid mac.

Actual:
The error in the attached screenshot.

This only happened for an interface that I marked as Managed, Provision.
If I check disable build mode and mark the interface just primary with nothing else I get a expected validation error.

invalid_mac_error.png View invalid_mac_error.png 139 KB Ori Rabin, 05/08/2016 08:58 AM
Invalid mac error

Associated revisions

Revision e2163020 (diff)
Added by Ondřej Pražák over 4 years ago

Fixes #14955 - Show nice message for invalid mac, ip

Revision 3c73aa36 (diff)
Added by Ondřej Pražák over 4 years ago

Fixes #14955 - Show nice message for invalid mac, ip

(cherry picked from commit e216302087f27280dc97b8ed11f1082e57ef6545)

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman/pull/3572 added

#2 Updated by Ondřej Pražák over 4 years ago

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

#3 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 161

Also available in: Atom PDF