Hello again. My error got scrubbed earlier, so this is a second
attempt. I'm using Catalyst along with DBIC, and I recently got the error below. The interesting thing is that
even though this
error was thrown, the insert worked. The use case is simply that I've
just created a new 'User', and I now want to give that user a 'Role'.
I'm using a join table to do so. That table has the id's of both the
User and Role(s) associated.
On 4/16/2010 5:54 AM, dbix-class-requ...@lists.scsys.co.uk wrote: Send DBIx-Class mailing list submissions to dbix-class@lists.scsys.co.ukTo subscribe or unsubscribe via the World Wide Web, visit http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class or, via email, send a message with subject or body 'help' to dbix-class-requ...@lists.scsys.co.uk You can reach the person managing the list at dbix-class-ow...@lists.scsys.co.uk When replying, please edit your Subject line so it is more specific than "Re: Contents of DBIx-Class digest..." Today's Topics: 1. Insert into join table succeeds but issues error anyway (Steve) 2. Result Classes (Ben Hitz) 3. Jobs, jobs, jobs, and jobs (don't forget about jobs!) (fREW Schmidt) 4. can i add custom error info for throw_exception in dbix::class 0.07006? (??) 5. Re: can i add custom error info for throw_exception in dbix::class 0.07006? (Alexander Hartmaier) 6. Re: can i add custom error info for throw_exception in dbix::class 0.07006? (??) 7. Re: New experimental development release of DBD::ODBC 1.23_4 - faster - please test (Martin Evans) ---------------------------------------------------------------------- Message: 1 Date: Thu, 15 Apr 2010 15:40:57 -0400 From: Steve <st...@matsch.com> Subject: [Dbix-class] Insert into join table succeeds but issues error anyway To: dbix-class@lists.scsys.co.uk Message-ID: <4bc76bc9.1040...@matsch.com> Content-Type: text/plain; charset="us-ascii" An HTML attachment was scrubbed... URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100415/deaef6f4/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: steve.vcf Type: text/x-vcard Size: 268 bytes Desc: not available Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100415/deaef6f4/steve-0001.vcf ------------------------------ Message: 2 Date: Thu, 15 Apr 2010 14:29:51 -0700 From: Ben Hitz <h...@genome.stanford.edu> Subject: [Dbix-class] Result Classes To: "DBIx::Class user and developer list" <dbix-class@lists.scsys.co.uk> Message-ID: <ad38710a-14a1-4eca-8a1c-86eca5292...@genome.stanford.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes I don't use load_namespaces, but I blundered into it via some Catalyst docs.With no arguments, this method uses Module::Find to load all your Result classes from a sub-namespace Result under your Schema class' namespace, i.e. with a Schema of MyDB::Schema all files in MyDB::Schema::Result are assumed to be Result classesWhat is a "Result class" ? Did I miss a memo? I know what a ResultSet class is (sort of) and I know what a ResultSource class is (at least in the sense of it corresponding to a DB Table...) but this terminology is new to me. There is a link to a non-existent glossary entry in the DBIx::Class::ResultSource POD as well. "As mentioned above, a result source instance is created and stored for you when you define a <a href="" class="moz-txt-link-rfc2396E" href="http://search.cpan.org/~frew/DBIx-Class-0.08121/lib/DBIx/Class/Manual/Glossary.pod#Result_Class">"http://search.cpan.org/~frew/DBIx-Class-0.08121/lib/DBIx/Class/Manual/Glossary.pod#Result_Class ">Result Class</a>" If I had to guess, I would say that Result Class = "class of ResultSource instance object"... but that's just a guess. Ben -- Ben Hitz Senior Scientific Programmer ** Saccharomyces Genome Database ** GO Consortium Stanford University ** h...@genome.stanford.edu ------------------------------ Message: 3 Date: Thu, 15 Apr 2010 19:49:24 -0500 From: fREW Schmidt <fri...@gmail.com> Subject: [Dbix-class] Jobs, jobs, jobs, and jobs (don't forget about jobs!) To: The elegant MVC web framework <catal...@lists.scsys.co.uk>, "DBIx::Class user and developer list" <dbix-class@lists.scsys.co.uk> Message-ID: <l2wfb3648c61004151749s21b58735r83fcd29ef70ac...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hello all! The company I am working for is hiring! Required: Experience with DBIx::Class and Catalyst We are In Richardson, TX and willingness to relocate and work onsite is highly preferred Preferred: Self starters Experience with _javascript_ Experience with ExtJS We have done perl web development for nearly 10 years and we currently have way too much work for our small shop (6~ developers) to handle. Except for one product (which we own and sell) all of our work is currently long term (1 year or more) contracts with a variety of customers. Since working here (almost 2 years) we have moved from vanilla CGI + DBI with IIS to Catalyst, DBIx::Class and mod_perl. If you are motivated and get results the people running the company listen to you, so if you are stuck in a giant company doing way too much PERL come join us! Send your resumes my direction and feel free to email me or if you are on IRC msg me (frew on perl, frooh on freenode) with any questions you might have. I look forward to hearing from you! -- = fREW Schmidt http://blog.afoolishmanifesto.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100415/dac= cf50b/attachment-0001.htm ------------------------------ Message: 4 Date: Fri, 16 Apr 2010 16:21:09 +0800 From: ?? <swansu...@gmail.com> Subject: [Dbix-class] can i add custom error info for throw_exception in dbix::class 0.07006? To: dbix-class@lists.scsys.co.uk Message-ID: <p2o97bca8a81004160121ub04edfe2w7a74d07553633...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" hi, all i have a question about dbix::class 0.07006 ( i know it's old, but my codes are base on it...). i want to add host IP of mysql db into the error info of dbix's exception. so that it's helpful for us to debug our codes. i just read the doc of newest version of dbix::class (0.08121), seems it provide a way to make a custom throw_exception myself. then i read doc of 0.07006, doesn't see such method as 0.08121. so, i wanna ask, is there any anything i can do to add host IP into error info of dbix's exception of version 0.07006 any tips are appreciated. thank you ! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100416/c43= 7eea9/attachment-0001.htm ------------------------------ Message: 5 Date: Fri, 16 Apr 2010 08:50:57 +0000 From: Alexander Hartmaier <alexander.hartma...@t-systems.at> Subject: Re: [Dbix-class] can i add custom error info for throw_exception in dbix::class 0.07006? To: "DBIx::Class user and developer list" <dbix-class@lists.scsys.co.uk> Message-ID: <1271407857.2592.22.ca...@ahartmai-nb> Content-Type: text/plain; charset="UTF-8" Why do you not test your model with the newest DBIx::Class version and just upgrade if everything works? -- Best regards, Alex Am Freitag, den 16.04.2010, 10:21 +0200 schrieb è€é‚ª:hi, all i have a question about dbix::class 0.07006 ( i know it's old, but my codes are base on it...). i want to add host IP of mysql db into the error info of dbix's exception. so that it's helpful for us to debug our codes. i just read the doc of newest version of dbix::class (0.08121), seems it provide a way to make a custom throw_exception myself. then i read doc of 0.07006, doesn't see such method as 0.08121. so, i wanna ask, is there any anything i can do to add host IP into error info of dbix's exception of version 0.07006 any tips are appreciated. thank you !*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien Handelsgericht Wien, FN 79340b *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* Notice: This e-mail contains information that is confidential and may be privileged. If you are not the intended recipient, please notify the sender and then delete this e-mail immediately. *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* ------------------------------ Message: 6 Date: Fri, 16 Apr 2010 16:54:29 +0800 From: ?? <swansu...@gmail.com> Subject: Re: [Dbix-class] can i add custom error info for throw_exception in dbix::class 0.07006? To: "DBIx::Class user and developer list" <dbix-class@lists.scsys.co.uk> Message-ID: <n2s97bca8a81004160154se67cbd04w809b4ed484d22...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" d2UgZGlkLCBvdXIgY29kZSBpcyBub3QgZ29vZCBlbm91Z2ggdG8gd29yayB3aXRoIG5ld2VzdCBk Yml4OjpjbGFzcywgc28sCmhhdmUgdG8gc3RheSBpbiAwLjA3IHZlcnNpb24gbm93IDooCgpPbiBG cmksIEFwciAxNiwgMjAxMCBhdCA0OjUwIFBNLCBBbGV4YW5kZXIgSGFydG1haWVyIDwKYWxleGFu ZGVyLmhhcnRtYWllckB0LXN5c3RlbXMuYXQ+IHdyb3RlOgoKPiBXaHkgZG8geW91IG5vdCB0ZXN0 IHlvdXIgbW9kZWwgd2l0aCB0aGUgbmV3ZXN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jbGFzc0BsaXN0cy5zY3N5cy5jby51awo+Ci0tLS0tLS0t LS0tLS0tIG5leHQgcGFydCAtLS0tLS0tLS0tLS0tLQpBbiBIVE1MIGF0dGFjaG1lbnQgd2FzIHNj cnViYmVkLi4uClVSTDogaHR0cDovL2xpc3RzLnNjc3lzLmNvLnVrL3BpcGVybWFpbC9kYml4LWNs YXNzL2F0dGFjaG1lbnRzLzIwMTAwNDE2Lzk2NWIwNmNlL2F0dGFjaG1lbnQtMDAwMS5odG0K ------------------------------ Message: 7 Date: Fri, 16 Apr 2010 10:54:19 +0100 From: Martin Evans <martin.ev...@easysoft.com> Subject: Re: [Dbix-class] New experimental development release of DBD::ODBC 1.23_4 - faster - please test To: "DBIx::Class user and developer list" <dbix-class@lists.scsys.co.uk> Message-ID: <4bc833cb.1070...@easysoft.com> Content-Type: text/plain; charset=ISO-8859-1 fREW Schmidt wrote:On Wed, Apr 14, 2010 at 3:12 PM, Martin J. Evans <martin.ev...@easysoft.com <mailto:martin.ev...@easysoft.com>> wrote: I have just uploaded a new development release of DBD::ODBC 1.23_4 to CPAN. This is very much an experimental release but unless I hear any negative reports I will release this as 1.24. Ok, we have installed this on both Linux and Strawberry perl (32 bit.) We'll let you know if we have any issues, but so far everything is working. -- fREW Schmidt http://blog.afoolishmanifesto.com ------------------------------------------------------------------------ _______________________________________________ List: http://lists.scsys.co.uk/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/dbix-class@lists.scsys.co.ukThanks for letting me know fREW. So far I have an unconfirmed report of a memory leak but sometimes these are in the drivers and not DBI/DBD::ODBC. Martin |
<<attachment: steve.vcf>>
_______________________________________________ List: http://lists.scsys.co.uk/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/dbix-class@lists.scsys.co.uk