Skip Menu |

This queue is for tickets about the Catalyst-Controller-DBIC-API CPAN distribution.

Report information
The Basics
Id: 64673
Status: resolved
Worked: 7 hours (420 min)
Priority: 0/
Queue: Catalyst-Controller-DBIC-API

People
Owner: abraxxa [...] cpan.org
Requestors: revmischa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.002003
Fixed in: 2.002004



Subject: Broken interaction with new MX::R::BuildInstanceOf
Running latest everything, getting this error if I use select => [qw/a b c/] or *_exposes: http://paste.scsys.co.uk/81752 http://paste.scsys.co.uk/81748
Downgrade Data::Dpath to 0.40 till it is fixed.
On Tue Jan 11 02:39:02 2011, ABRAXXA wrote: Show quoted text
> Downgrade Data::Dpath to 0.40 till it is fixed.
Data::DPath 0.41 introduced securing some expression eval'ing with Safe.pm, see http://cpansearch.perl.org/src/SCHWIGON/Data-DPath-0.41/ChangeLog 2010-10-01 Steffen Schwigon <ss5@renormalist.net> * v0.41 * Incompatible changes: - restrict filter expression syntax with Safe.pm - set local $Data::DPath::USE_STRICT = 0 to enable old eval again Maybe related to that? If it's running on Perl <= 5.8.8 then Data::DPath 0.42 is needed to force a newer Safe.pm. If all that does not help please provide me other hints how Data::DPath is involved in that bug. Kind regards, Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>
On Wed Jan 12 10:49:05 2011, SCHWIGON wrote: Show quoted text
> Data::DPath 0.41 introduced securing some expression eval'ing > with Safe.pm
I just noted from the pasted error log about "undef" values that it might also be related to a bug fix in DPath 0.41: - Hash entry values of 0 or undef were filtered away. Now fixed. So maybe an additional "grep" is need on the side where DPath is used to ignore such undef results. Or maybe smarter dpaths are possible to not return the undefs in the first place. I'm just guessing at this point. Not sure whose code snippet breaks. Feel free to query me on irc, eg. renormalist @ perlorg/#catalyst. Although I'm looking quite afk there I try to be around the next days... Kind regards, Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>