Description of problem: Dialog is not highlighted if VM cannot be created before clicking to "Show Advanced Options". See steps to reproduce. Version-Release number of selected component (if applicable): 3.3.1-0.48.el6ev How reproducible: 100 % Steps to Reproduce: 1. Log-in into user portal with an user not allowed to create VM from a template 2. Open "new VM" dialog 3. Select VM template 4. Fill-in VM name 5. Click to Ok buton Actual results: VM is not created, no error message is displayed, no part of dialog is highlighted. See screenshot simple.png. The error is hidden under "Show Advanced Options" button. See screenshot advanced-options.png. Expected results: A problematic part of the dialog is highlighted. View is switched to Advanced Options when necessary.
Created attachment 884071 [details] advanced options dialog with highlighted error
Created attachment 884072 [details] dialog without advanced options - error highlighting is missing here
Tomas, is it possible to jump to place of error in the dialog when clicking ok?
@Omer - well, it is not that simple - where shell I jump if there where errors on more places? Especially if some are visible in basic context and some in advanced only? Also, the user could be a bit confused if after clicking ok he would end up in a totally different part of the same dialog. A simpler solution would be to do this: - you have the basic options shown only and have a validation error - click ok - if all the errors are only on fields which are visible in basic mode only, than do nothing - if at least one error is visible in advanced mode, than show the advanced options (so the validation error place will be visible) Would this be acceptable?
*** Bug 1008426 has been marked as a duplicate of this bug. ***
see https://bugzilla.redhat.com/show_bug.cgi?id=1128440#c9 for some further thoughts
verified in vt4
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/RHSA-2015-0158.html