Re: [html-formfu] HTML::FormFu::Model::DBIC t\update\create_belongs_to.t problems

2011-03-01 Thread Carl Franks
On 1 March 2011 13:33, Peter Shangov wrote: > Follow-up to my previous message: > > The problem is in line 426 in DBIC.pm (current version on github): > >  $dbic->discard_changes unless( $dbic->$rel ); > > DBIx::Class throws an exception on $dbic->$rel if the foreign key column for > $rel is unde

Re: [html-formfu] HTML::FormFu::Model::DBIC t\update\create_belongs_to.t problems

2011-03-01 Thread Peter Shangov
Follow-up to my previous message: The problem is in line 426 in DBIC.pm (current version on github): $dbic->discard_changes unless( $dbic->$rel ); DBIx::Class throws an exception on $dbic->$rel if the foreign key column for $rel is undefined, except where the foreign key column has the same n

Re: [html-formfu] HTML::FormFu::Model::DBIC and Many-to-many

2009-09-27 Thread Ascii King
Ascii King wrote: list_hero.tt2 - Name Skills [% FOREACH hero IN object -%] [% hero.hero_name %] [% FOREACH unique_skill = hero.skills %] [% unique_skill.skill_name %] [[% unique_skill.hero_skill.rank %]] [% END %] [% END -%] Plea

Re: [html-formfu] HTML::FormFu::Model::DBIC and Many-to-many

2009-09-27 Thread Ascii King
Carl Franks wrote: I don't think it's currently possible in a single step, to both select which one's to relate, and edit them. It's either a multi-value element to select them, or a Repeatable block to edit the already related rows. Carl This is something I have been struggling with for ove

Re: [html-formfu] HTML::FormFu::Model::DBIC

2009-02-04 Thread Dermot
2009/2/3 Octavian Rasnita : > Update the module because the documentation had errors. > > $form->create is not correct. It should be $form->model->create. > > I don't remember if the change was submitted to cpan or if I got the new > code from the SVN repository, but try from the CPAN first. > > Oc

Re: [html-formfu] HTML::FormFu::Model::DBIC and Many-to-many

2009-02-03 Thread Carl Franks
2009/2/3 Nigel Metheringham : > I'm really not getting how the many-to-many support works in this, so could > someone mock me up an example. There are test files for many-to-many in: t/default_values/ t/update/ t/options_from_model/ > to select the capabilities that superhero has, so I would like

Re: [html-formfu] HTML::FormFu::Model::DBIC

2009-02-03 Thread Carl Franks
2009/2/3 Octavian Rasnita : > Update the module because the documentation had errors. > > $form->create is not correct. It should be $form->model->create. True. Just pointing out that $form->save_to_model() is also deprecated, and should now be $form->model->update() Cheers, Carl ___

Re: [html-formfu] HTML::FormFu::Model::DBIC

2009-02-03 Thread Octavian Rasnita
Update the module because the documentation had errors. $form->create is not correct. It should be $form->model->create. I don't remember if the change was submitted to cpan or if I got the new code from the SVN repository, but try from the CPAN first. Octavian - Original Message -

Re: [html-formfu] HTML-FormFu-Model-DBIC 0.03006 uploaded to cpan

2008-12-25 Thread Malcolm
On Wednesday 03 December 2008, Carl Franks wrote: > And just for good measure, I've also uploaded a new Model-DBIC ! A couple of the tests fail on my machine: # Failed test at t/update/has_many_repeatable_new_date.t line 62. t/update/has_many_repeatable_new_date..2/9

Re: [html-formfu] HTML-FormFu-Model-DBIC 0.03006 uploaded to cpan

2008-12-03 Thread Charlie Garrison
Good morning, On 3/12/08 at 2:12 PM -, Carl Franks <[EMAIL PROTECTED]> wrote: http://www.mirror.8086.net/sites/CPAN/authors/id/C/CF/CFRANKS/Catalyst-Controller-HTML-FormFu-0. 03006.tar.gz I had more test errors with this one too. The error was t/01basic-formconfig_conf_ext[error] Cau

Re: [html-formfu] HTML-FormFu-Model-DBIC 0.03006 uploaded to cpan

2008-12-03 Thread Charlie Garrison
Good morning, On 3/12/08 at 2:12 PM -, Carl Franks <[EMAIL PROTECTED]> wrote: How long should it take for these (inc Catalyst-Controller-HTML-FormFu) to appear on cpan? I can't see the new versions at search.cpan.org. It normally takes a couple of hours before it's listed on search.cpan.o

Re: [html-formfu] HTML-FormFu-Model-DBIC 0.03006 uploaded to cpan

2008-12-03 Thread Carl Franks
2008/12/3 Charlie Garrison <[EMAIL PROTECTED]>: > Good morning, > > On 3/12/08 at 12:39 PM -, Carl Franks <[EMAIL PROTECTED]> wrote: > >> And just for good measure, I've also uploaded a new Model-DBIC ! > > How long should it take for these (inc Catalyst-Controller-HTML-FormFu) to > appear on c

Re: [html-formfu] HTML-FormFu-Model-DBIC 0.03006 uploaded to cpan

2008-12-03 Thread Charlie Garrison
Good morning, On 3/12/08 at 12:39 PM -, Carl Franks <[EMAIL PROTECTED]> wrote: And just for good measure, I've also uploaded a new Model-DBIC ! How long should it take for these (inc Catalyst-Controller-HTML-FormFu) to appear on cpan? I can't see the new versions at search.cpan.org. I