mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
Updated contact name data type in schemas
This commit is contained in:
parent
9e63e3d0bd
commit
c7d3788a36
12 changed files with 109 additions and 45 deletions
|
@ -12,6 +12,7 @@ class Epp::Contact < Contact
|
|||
|
||||
def manage_permissions
|
||||
return unless update_prohibited? || delete_prohibited?
|
||||
|
||||
add_epp_error('2304', nil, nil, I18n.t(:object_status_prohibits_operation))
|
||||
throw(:abort)
|
||||
end
|
||||
|
@ -76,6 +77,7 @@ class Epp::Contact < Contact
|
|||
],
|
||||
'2005' => [ # Value syntax error
|
||||
[:name, :invalid],
|
||||
[:name, :too_long_contact_name],
|
||||
[:phone, :invalid],
|
||||
[:email, :invalid],
|
||||
[:country_code, :invalid],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue