Bug 1035286

Summary: [WebUI] Realm domain is not providing proper error message
Product: Red Hat Enterprise Linux 7 Reporter: Varun Mylaraiah <mvarun>
Component: ipaAssignee: Martin Kosek <mkosek>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: dpal, jgalipea, pvoborni, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ipa-4.0.3-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 10:10:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Realm domain error
none
error message none

Description Varun Mylaraiah 2013-11-27 13:10:12 UTC
Description of problem:
Realm domain is not providing proper error message when trying to delete domain of IPA server

Version-Release number of selected component (if applicable):
ipa-server-3.3.3-5.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.click delete
2.click update
3.select force delete/check DNS

Actual results:
1)showing validation error: Input form contains invalid or missing values.
2)required field error showing twice 

Expected results:
cannot delete domain of IPA server
required field error should not show twice

Additional info:

Comment 1 Varun Mylaraiah 2013-11-27 13:11:41 UTC
Created attachment 829726 [details]
Realm domain error

Comment 3 Martin Kosek 2013-11-27 13:44:40 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/4057

Comment 5 Petr Vobornik 2014-07-01 09:02:42 UTC
fixed in upstream master:
    93de5db39e5b2e5991c32a57958cedb0f8b41848 webui: show notification instead of modal dialog on validation error
    c693b28babf97d22c14d37e024d551b583c4327f webui: fix required error notification in multivalued widget 

Note that it was fixed in slightly different way. The error message is indeed not displayed twice but the "Input form contains invalid or missing values." message remains. It's general error message when validating form. New thing is that it's not displayed in a modal dialog but as non-blocking error message at the top of the page.

Comment 7 Varun Mylaraiah 2015-01-20 09:33:39 UTC
Created attachment 981784 [details]
error message

Verified.

IPA version:
------------
ipa-server-4.1.0-15.el7.x86_64

Comment 9 errata-xmlrpc 2015-03-05 10:10:08 UTC
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-0442.html