[Dbix-class] Re: create without setting a nullable foreign key, then accessing relationship

Adam Sjøgren adsj at novozymes.com
Wed Jun 11 13:29:20 BST 2008


On Wed, 11 Jun 2008 12:53:34 +0100, Ash wrote:

> On 11 Jun 2008, at 12:35, Adam Sjøgren wrote:

>> and mike provided a test-patch in:
>> <http://article.gmane.org/gmane.comp.lang.perl.modules.dbix-class/5443> .
>> The test-patch broke some other patches, so I posted an updated patch
>> that doesn't:
>> <http://article.gmane.org/gmane.comp.lang.perl.modules.dbix-class/5653> 
>> It probably went unnoticed because of the age of the thread.
>> 

> Hmm, seems like a bug to me.

> Do you think you could convert your test suite to use the existing
> tables in the DBICTest schema (you can add a table or some rels if
> needed)?

The patch mike contributed¹, and I tried to improve², linked above, does
exactly that - it adds a "genre" table to the existing DBICTest schema.

(The example in my email of today is unrelated to the patch - I should
 have made that clear, sorry).


  Best regards,

    Adam


¹ <6f49eada0804161232y75f75959yd83d712df24d39db at mail.gmail.com>
² <87zlq1lenv.fsf at topper.koldfront.dk>

-- 
                                                          Adam Sjøgren
                                                    adsj at novozymes.com



More information about the DBIx-Class mailing list