[Dbix-class] Is populate borked in -current?

Christopher H. Laco claco at chrislaco.com
Tue Oct 3 21:19:09 CEST 2006


Jess Robinson wrote:
> 
> 
> On Thu, 28 Sep 2006, Christopher H. Laco wrote:
> 
>> Christopher H. Laco wrote:
>>> Christopher H. Laco wrote:
>>> [snip]
>>>
>>> I've committed failing tests to 100populate.t. These test pass under
>>> trunk, and on current prior to changeset 2793:
>>>
>>> To summarize, under trunk, populate honors the field orders given, and
>>> allows one to only populate some fields out of the entire schema. This
>>> is useful if the data being populate is coming from an outside source
>>> that has no knowledge of the db column order, or the entire set of
>>> columns.
> 
> <- snip ->
> 
> Thanks Claco. I managed to find the bug and destroy it, I hope. Also
> added some docs to populate to mention the use (since its a bit
> restricted in what you can throw at it.. feel free to patch that ;)
> 
> Jess
> 
> 
Thanks. I'll give it a whirl tonight.
In a complete twist of chance, I never wouldn't have caught it if I'd
put my columns in order in populate, rather than just tacking them onto
the end like a lazyazz. :-)

-=Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/dbix-class/attachments/20061003/d384ddc3/attachment.pgp 


More information about the Dbix-class mailing list