mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
116207475-error_added
This commit is contained in:
parent
d3df2739fd
commit
f490d16a19
2 changed files with 5 additions and 1 deletions
|
@ -133,7 +133,8 @@ class Epp::Domain < Domain
|
|||
[:base, :ds_data_not_allowed],
|
||||
[:base, :key_data_not_allowed],
|
||||
[:period, :not_a_number],
|
||||
[:period, :not_an_integer]
|
||||
[:period, :not_an_integer],
|
||||
[:registrant, :cannot_be_missing]
|
||||
],
|
||||
'2308' => [
|
||||
[:base, :domain_name_blocked, { value: { obj: 'name', val: name_dirty } }]
|
||||
|
@ -166,6 +167,8 @@ class Epp::Domain < Domain
|
|||
else
|
||||
add_epp_error('2303', 'registrant', code, [:registrant, :not_found])
|
||||
end
|
||||
else
|
||||
add_epp_error('2306', nil, nil, [:registrant, :cannot_be_missing])
|
||||
end
|
||||
|
||||
at[:name] = frame.css('name').text if new_record?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue