On 1/6/06 6:17 PM, Sean Davis wrote: > I'm sorry to keep littering the lists. I have a form that has a DateTime > field and a DB::Object that has a timestamp in it. I have a page on which I > can enter the date along with other information. I submit this page and get > the error: > > Caught exception "Cannot compare a datetime to a regular scalar at > /Library/Perl/5.8.6/darwin-thread-multi-2level/DateTime.pm line 1435." > > My form and db modules are attached. The error occurs at this line: > > $dog = $self->object_from_form($dog); > > And the value of internal_value going into the object_from_form sub is: > > 2006-01-06T09:59:09 > > Any ideas?
Just to let the list(s) know, Sean and I solved this offline. It ended up being a bug in Rose::DB. A new version of Rose::DB (0.60) was released today to fix the problem. I recommend that anyone using RDBO with Postgres update as soon as possible. -John ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object