Skip Menu |

This queue is for tickets about the Form-Sensible-Reflector-DBIC CPAN distribution.

Report information
The Basics
Id: 64684
Status: open
Priority: 0/
Queue: Form-Sensible-Reflector-DBIC

People
Owner: devin.austin [...] gmail.com
Requestors: conrad [...] watersprite.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Additional types required in hash for get_types
Date: Tue, 11 Jan 2011 23:21:46 +1100
To: bug-Form-Sensible-Reflector-DBIC [...] rt.cpan.org
From: Conrad Canterford <conrad [...] watersprite.com.au>
Hi, perl 5.10.1 Form::Sensible 0.20010 Form::Sensible::Reflector::DBIC 0.0341 I don't know why, but my schema is using some types that are not covered in the get_types hash. Possibly they're postgresql quirks. In any case, I had to add the following lines to get_types to make it work for me: 'character varying' => 'Text', date => 'Text', boolean => 'Toggle', numeric => 'Number', 'timestamp without time zone' => 'Text' Once I figured that out and added the above, it worked a charm. Thanks! Conrad.
On Tue Jan 11 07:21:49 2011, conrad@watersprite.com.au wrote: Show quoted text
> Hi, > perl 5.10.1 > Form::Sensible 0.20010 > Form::Sensible::Reflector::DBIC 0.0341 > > I don't know why, but my schema is using some types that are not covered > in the get_types hash. Possibly they're postgresql quirks. In any case, > I had to add the following lines to get_types to make it work for me: > > 'character varying' => 'Text', > date => 'Text', > boolean => 'Toggle', > numeric => 'Number', > 'timestamp without time zone' => 'Text' > > Once I figured that out and added the above, it worked a charm. Thanks! > > Conrad. > >
Hmm. guess I missed those for Pg. If you would kindly, provide a patch against the latest release. Or fork the github repo: https://github.com/dhoss/Form-Sensible-Reflector-DBIC. I'm not sure why date doesn't work, unless I just have "datetime" as a type. ++ to you sir!