Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.9.0-b1
-
Fix Version/s: 5.9.0-b2
-
Component/s: Plugins, Staff Interface
-
Labels:None
Description
When importing TLDs using a registrar, like OpenSRS, some may fail and some may succeed. If any fail, the TLDs are still created in Blesta but their prices are set to 0.00. If importing a TLD fails to fetch pricing from the registrar, do not create the TLD in Blesta.
I was able to reproduce this by using OpenSRS and importing the TLDs .sh, and .xyz. .sh was successful, while .xyz failed.
The request for .xyz failed with this response:
INPUT:
https://horizon.opensrs.net:55443
a:4:
OUTPUT:
https://horizon.opensrs.net:55443
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="object">DOMAIN</item>
<item key="is_success">0</item>
<item key="protocol">XCP</item>
<item key="response_text">No registry agent to service .xyz</item>
<item key="action">REPLY</item>
<item key="response_code">400</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>