metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
210 stars 154 forks source link

Invalid contact type: reseller #242

Closed swartjie closed 4 years ago

swartjie commented 4 years ago

Hey Guys,

I noticed that I am getting an error when doing a domain info command: Invalid contact type: reseller

It looks like there is a reseller contact defined, but it crashes the EPP class... How can I go about ignoring it or getting it to not throw the "Invalid contact type: reseller" error?

Kind Regards

metaregistrar commented 4 years ago

Which extensions are you using?

swartjie commented 4 years ago

It's for the co.za extension

metaregistrar commented 4 years ago

I will check domain:info with co.za to see where it goes wrong.

swartjie commented 4 years ago

As a side note, it does not always happen. It only happens when a contact type is spesified as a reseller contact instead of admin, tech or billing for example... Then it throws the error. Hope it helps :)

metaregistrar commented 4 years ago

We don't have any co.za contacts with reseller info in it... can you give me the file name and line number of the crash?

metaregistrar commented 4 years ago

I think i found it, and fixed it in the latest commit

The system did not accept this type of contact:

resellercontact Now it does.