Description of problem: A "Please fill out this field." message appears around the browser without any help what is actually missing. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Go to hosts#edit 2. Submit the form Actual results: "Please fill out this field." message appears. Expected results: The form should be submitted without any validation failure. Additional info:
I suspect that the following commit is missing from rhelosp-foreman: commit 22438bd257ba586e92ecbccc8382511dabddbe26 Author: Marek Hulan <mhulan> Date: Fri Sep 26 10:24:36 2014 +0200 Fixes #7750 - hidden required fields do not prevent submit When a field is explicitly required an HTML5 tag required was added which caused issues during form submit.
the patch in comment 1 also requires: commit 3b87444aac04cf78e073bcb6e7f7778ef72f9c8e Author: Marek Hulan <mhulan> Date: Tue Sep 16 11:09:12 2014 +0200 Fixes #7450 - do not mark non-required fields If validation is conditional we don't mark fields as required by default. Also fixes disabling by override using :required option. which requires: commit 2af7c64a3b9c2699a3131483bc2344b50c138542 Author: Joseph Magen <jmagen> Date: Thu Jun 26 11:11:31 2014 +0300 Fixes #6400 - Show * next to required form fields --- backporting all 3 to foreman
Verified: openstack-puppet-modules-2014.1-24.el6ost.noarch rhel-osp-installer-0.4.5-1.el6ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch openstack-foreman-installer-2.0.30-1.el6ost.noarch ruby193-rubygem-staypuft-0.4.7-1.el6ost.noarch Doesn't reproduce now.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1800.html