Project

General

Profile

Actions

Bug #7750

closed

Foreman - Failed to "Submit" while building a new VM

Added by Dmitry Sakun about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Host creation
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

When you press on Submit button nothing happens.

Error:

"An invalid form control with name='host[mac]' is not focusable"

It looks like it related to the following patch: http://theforeman.org/issues/7560 "Bug #7560: add :required => true on host fields that have conditional validation if host.managed? - Foreman"


Files


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #7560: add :required => true on host fields that have conditional validation if host.managed?ClosedJoseph Magen09/21/2014Actions
Has duplicate Foreman - Bug #7759: change name of :required => true to :is_required => true since it conflicts with HTML tagDuplicateJoseph Magen10/01/2014Actions
Actions #1

Updated by Dominic Cleal about 10 years ago

  • Related to Bug #7560: add :required => true on host fields that have conditional validation if host.managed? added
Actions #2

Updated by Dominic Cleal about 10 years ago

  • Target version set to 1.7.3

Indeed, when using Chrome and building a host on a compute resource you get an error in the console, but it otherwise fails to submit.

I think Dmitry said that on Firefox it pops up a notification instead.

What appears to be happening is that our "required" flag is actually being passed into the HTML rather than just being used for our "*" markers.

Actions #3

Updated by Dmitry Sakun about 10 years ago

Correct, the error in the description is from Chrome.
In FF I got a strange popup message: "Please fill out this field" in the upper left corner. See attachment

Actions #4

Updated by The Foreman Bot about 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1809 added
  • Pull request deleted ()
Actions #5

Updated by Marek Hulán about 10 years ago

  • Assignee set to Marek Hulán
Actions #6

Updated by Dominic Cleal about 10 years ago

  • Target version changed from 1.7.3 to 1.7.2
Actions #7

Updated by Dominic Cleal about 10 years ago

  • Has duplicate Bug #7759: change name of :required => true to :is_required => true since it conflicts with HTML tag added
Actions #8

Updated by Marek Hulán about 10 years ago

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

Also available in: Atom PDF