My apologies for not updating my addressbook for the
need list.  I copied the text of my last message for
those of you that might be blocking the old list
address, since I sincerely wish to help with this
issue:

I noticed that when using ->populate in void mode that
it skips any overrides to ->insert and the like.  This
is because when I wrote that I simple pass the data to
->execute_array in the storage class.

I don't see an easy way around this since these types
of modules are overriding ->insert directly, not so
other method I can call.

For the moment I propose to update the documentation,
since this is the kind of thing that could sting you
if you don't understand what's going on.  For the long
term I think we need to separate the methods that
actually modify the storage, something
'prepare_insert' that calls 'insert' and then
component authors would override that instead of new. 
Then in the ->populate I could call that to perform
any needed data manipulation.

Or is there an easier way?

Thanks!
John


      
____________________________________________________________________________________
Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to