[Catalyst-commits] r8406 - in
CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk: .
lib/CatalystX/CRUD/Controller
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Thu Sep 11 18:51:09 BST 2008
Author: karpet
Date: 2008-09-11 18:51:09 +0100 (Thu, 11 Sep 2008)
New Revision: 8406
Modified:
CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/Changes
CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/lib/CatalystX/CRUD/Controller/RHTMLO.pm
Log:
0.17 release
Modified: CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/Changes
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/Changes 2008-09-11 17:49:20 UTC (rev 8405)
+++ CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/Changes 2008-09-11 17:51:09 UTC (rev 8406)
@@ -62,10 +62,11 @@
0.16 25 Aug 2008
* refactor the form_to_object() to avoid setting the PK value for a new object
-0.17 xxx
+0.17 11 Sept 2008
* change tact altogether in form_to_object() and assume there are no autoincrement fields in $form
* move the form/object seeding in create() to the core Controller create() method. This change
is as much to solve a strange Class::C3/Dispatcher issue with multiple inheritance as anything.
* add missing $c in call to $self->form
+ * do_search calls field_names() on controller rather than form object
Modified: CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/lib/CatalystX/CRUD/Controller/RHTMLO.pm
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/lib/CatalystX/CRUD/Controller/RHTMLO.pm 2008-09-11 17:49:20 UTC (rev 8405)
+++ CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/lib/CatalystX/CRUD/Controller/RHTMLO.pm 2008-09-11 17:51:09 UTC (rev 8406)
@@ -154,8 +154,7 @@
$c->stash->{form}->params( $c->req->params );
$c->stash->{form}->init_fields();
- return $self->next::method( $c, scalar $c->stash->{form}->field_names,
- @arg );
+ return $self->next::method( $c, scalar $self->field_names($c), @arg );
}
1;
More information about the Catalyst-commits
mailing list