Ignore duplicate data entries for domain create, update and transfer requests
After implementing optional admin and tech contact feature we now should add feature to cast aside duplicate data ie if registrar registers a domain with identical contact data in the registrant and admin or technical contact roles. That means not only using the same contact object in multiple roles but also different objects with identical data.
The duplicate data should be handled similarly to postal address data returning user a warning response about accepting the request but not saving part of it because of duplication
The contact objects' data should be compared in all parameters except object id: name, ident, email, phone. If all these match then the object in the role of admin or technical contact is considered duplicate and should be ignored
example:
domain name: näidis.ee
registrant: id: NTX:0001 name: Regis Trant ident: 38001010001 [EE priv] email: registrant@näidis.ee phone: +372.12345
admin: id: NTX:0002 name: Regis Trant ident: 38001010001 [EE priv] email: registrant@näidis.ee phone: +372.12345
tech: id: NTX:0003 name: Regis Trant ident: 38001010001 [EE priv] email: tech@näidis.ee phone: +372.12345
In this example the admin contact should be ignored as duplicate and the domain registration data should be saved to registry db without specifying the admin contact.