tirveni yadav wrote:
> 
> Mail Forwaded :::
> 
> The behaviour of ResultSet->single seems to have changed sometime
> between 0.08103 and 0.08112.  In 0.08112, if you perform a query of the
> form:
> 
> $schema->resultset('Foo')
>  ->search(..., {select=>[{sum=>...}], as=>[...]})
>    ->single
> 
> AND the query returns only one row
> 
> AND the row contains only one column whose value is NULL
> 
> then the single fails to inflate the result and subsequent accesses to
> the putatively inflated result fail with an access to an undefined
> value. The same construct used to work fine in 0.08103.
> 

Fixed by http://dev.catalyst.perl.org/svnweb/bast/revision/?rev=8315.
Should release some time this week.

Cheers

_______________________________________________
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/[email protected]

Reply via email to