[freeside-devel] domain_record.rectype
ivan
ivan at 420.am
Thu Feb 27 20:44:23 PST 2003
Hmm, in 1.4.x, it looks like "ChopBlanks" is defined in the DBI connect
call in UID.pm, but in 1.5.x (CVS HEAD) I have it commented out, which
triggers the bug you point out below.
I guess we should change the schema for domain_record.rectype to
varchar.
--
_ivan
On Thu, Feb 27, 2003 at 12:08:58AM -0800, Kristian Hoffmann wrote:
> domain_record.rectype and domain_record.recaf are char, not varchar,
> fields. When records are returned from a lookup, rectype and recaf appear
> as 5 and 2 character strings. That's fine for recaf, but with rectype you
> get things like 'SOA ' and 'MX ' that fail the check in
> FS::domain_record::check (around line 234).
>
> Should the check be modified, or the schema, or am I smoking crack?
>
> This is an example of it manifesting itself when I tried to add a record
> to a newly created svc_domain. (Quotes added for emphasis).
>
> 'Illegal rectype (only SOA NS MX A PTR CNAME recognized): SOA '
>
> -Kristian
>
>
--
_ivan
More information about the freeside-devel
mailing list