From: Jae G. <jga...@re...> - 2001-10-09 14:37:49
|
in either case, the c++ toolkit should be updated to use either NULL or accept active as a valid status, else the info(query) command becomes quite useless. -jae > -----Original Message----- > From: Daniel Manley [mailto:dm...@tu...] > Sent: Tuesday, October 09, 2001 10:41 AM > To: Asbjorn > Cc: Ori Schnaps; epp...@li... > Subject: Re: [Epp-rtk-devel] Domain info returns an undefined status > type > > > Here's the catch: .info is using an active status to show > that a domain > is in DNS. The java RTK was returing a null status in its > place. I've > made updates to the Java code for this (and the IDLs to try > to keep this > "by-the-books"). I didn't see a harm in doing this since > only .info is > using this older version of EPP. What do you think Asbjorn? > > Dan > > Asbjorn wrote: > > > Ori, > > > > looking at the drafts and the IDL-files, I cannot actually find a > > reference to the ACTIVE status. I am pretty sure the status > OK is used > > instead, but if I overlooked something, please let me know. > > > > If ACTIVE/active is not defined, it should actually throw > an exception > > if the returned status from the SRS is "active". > > > > > > Regards, > > > > Asbjorn > > > > > > Ori Schnaps wrote: > > > >> Anyone experience the scenario using the C++ RTK where a > Domain Info > >> query > >> on the Shared Registry System, returns an "active" status. > Since an > >> "active" status is not defined in the C++ RTK, this causes an > >> exception to > >> be thrown. ACTIVE is a valid status according to the IETF > draft docs. > >> > >> Currently in the RTK the valid status types are (from > epp_domaindata.h) > >> enum epp_DomainStatusType { > >> HOLD, > >> INACTIVE, > >> LOCK, > >> NEW, > >> OK, > >> PENDING_DELETE, > >> PENDING_TRANSFER, > >> PENDING_VERIFICATION, > >> CLIENT_HOLD, > >> CLIENT_LOCK, > >> CLIENT_TRANSFER_PROHIBITED, > >> }; > >> > >> As such the C++ EPP RTK throws an exception in > returnStatusEnumType or > >> returnStatusType located in epp_domainXMLbase.cc. > >> > >> Adding ACTIVE to epp_DomainStatusType, and then testing for it in > >> returnStatusEnumType and returnStatusType, fixes this problem. > >> > >> The latest versions of epp_domaindata.h (1.2.2.1) and > >> epp_domainXMLbase.cc > >> (1.2.2.1) do not have the ACTIVE status. > >> > >> > >> ori > >> > >> > >> Ori Schnaps > >> osc...@re... > >> > >> _______________________________________________ > >> Epp-rtk-devel mailing list > >> Epp...@li... > >> https://lists.sourceforge.net/lists/listinfo/epp-rtk-devel > >> > > > > > > > > > _______________________________________________ > Epp-rtk-devel mailing list > Epp...@li... > https://lists.sourceforge.net/lists/listinfo/epp-rtk-devel > |