[Catalyst-commits] r8336 -
CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/lib/CatalystX/CRUD/ModelAdapter
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Wed Sep 3 06:59:30 BST 2008
Author: karpet
Date: 2008-09-03 06:59:30 +0100 (Wed, 03 Sep 2008)
New Revision: 8336
Modified:
CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/lib/CatalystX/CRUD/ModelAdapter/DBIC.pm
Log:
todo: what is appropriate read() method?
Modified: CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/lib/CatalystX/CRUD/ModelAdapter/DBIC.pm
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/lib/CatalystX/CRUD/ModelAdapter/DBIC.pm 2008-09-03 04:17:09 UTC (rev 8335)
+++ CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/lib/CatalystX/CRUD/ModelAdapter/DBIC.pm 2008-09-03 05:59:30 UTC (rev 8336)
@@ -494,7 +494,9 @@
sub read {
my ( $self, $c, $object ) = @_;
- $object->find; # TODO is this right? what about discard_changes()?
+ #$object->find; # TODO is this right? what about discard_changes()?
+ $c->log->error("TODO $object does not implement find() method");
+ return $object;
}
=head2 update( I<context>, I<dbic_object> )
More information about the Catalyst-commits
mailing list