Bug 1035318

Summary: [IPA WebUI] Duplicate domain providing wrong error message
Product: Red Hat Enterprise Linux 7 Reporter: Varun Mylaraiah <mvarun>
Component: ipaAssignee: Martin Kosek <mkosek>
Status: CLOSED NOTABUG QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-29 10:56:50 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:
Attachments:
Description Flags
Duplicate domain none

Description Varun Mylaraiah 2013-11-27 14:32:14 UTC
Description of problem:
 Not providing proper error message for duplicate domain entry 

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

How reproducible:
100%

Steps to Reproduce:
1.add existing domain
2.click update

Actual Error:
Error 4202: no modifications to be performed.

Expected Error:
domain "xxxxxxx" already exists.

Additional info:

Comment 2 Varun Mylaraiah 2013-11-27 14:41:58 UTC
Created attachment 829766 [details]
Duplicate domain

Comment 3 Martin Kosek 2013-11-27 15:50:32 UTC
This behavior is valid for all multivalued attributes in IPA, meaning you will experience it also for users's telephone, mail, etc. And for the realm domains as well.

The error message is actually right - no modification was done on LDAP level given that the user tries to add the same value twice.

Therefore, I plan to close this Bugzilla as NOTABUG.