Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Catalyst FormFu Create Data in Related Table

by Anonymous Monk
on Sep 24, 2012 at 13:49 UTC ( #995386=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Catalyst FormFu Create Data in Related Table
in thread Catalyst FormFu Create Data in Related Table

i.e. no data created in the address table

How do you know?

Try this example Catalyst::Manual::Tutorial::09_AdvancedCRUD::09_FormFu, http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/Tutorial/Final/Chapter09_FormFu/MyApp/

  • Comment on Re^3: Catalyst FormFu Create Data in Related Table

Replies are listed 'Best First'.
Re^4: Catalyst FormFu Create Data in Related Table
by simpzoid (Novice) on Sep 24, 2012 at 14:37 UTC
    I am familiar with
    Catalyst::Manual::Tutorial::09_AdvancedCRUD::09_FormFu, http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/Tutorial/Final/Chapter09_FormFu/MyApp/
    but it doesn't create data in related tables.
    I know the data is not inserted because i am using:
    DBIC_TRACE=1 script/myapp_server.pl -r
    and I can see what queries are actually being issued
    I have also queried the database and there is nothing in the address table.
Re^4: Catalyst FormFu Create Data in Related Table
by simpzoid (Novice) on Sep 24, 2012 at 15:05 UTC
    $form->model->create( {resultset => 'Author'});
    gives me the same problem as
    $form->model->update($author);
    i.e. no data created in the address table

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995386]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2016-08-29 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (397 votes). Check out past polls.