Re: [RDBO] Problem using check_in with a varchar column

2008-01-31 Thread John Siracusa
On Jan 31, 2008 3:44 PM, Sam Tregar [EMAIL PROTECTED] wrote:
 $meta-column(status = {type  = 'varchar',
default  = 'normal',
   length   = 32,
check_in = ['good',  'normal',
'in_review', 'blocked'
]
  }
);

 This produces an error:

 # Error:  Can't locate object method values via package
 Rose::DB::Object::Metadata::Column::Varchar at
 /usr/lib/perl5/site_perl/5.8.5/Rose/DB/Object/Metadata/Column.pm line 519.

I'm assuming it only produces that error when it tries to emit the
Perl code for that class into a .pm file, right?  If so, I think I
have the fix in SVN.  Give it a spin and let me know if it solves your
problem.

https://rose.svn.sourceforge.net/svnroot/rose/trunk/modules/Rose-DB-Object

-John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object


Re: [RDBO] Problem using check_in with a varchar column

2008-01-31 Thread Sam Tregar
On Jan 31, 2008 3:53 PM, John Siracusa [EMAIL PROTECTED] wrote:

 I'm assuming it only produces that error when it tries to emit the
 Perl code for that class into a .pm file, right?


Yes, that's it.  I was using the emitted Perl code to debug my auto-init
setup.


 If so, I think I have the fix in SVN.  Give it a spin and let me know if
 it solves your
 problem.


Yup, that did the trick.  Thanks!

-sam
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object