Skip Menu |

This queue is for tickets about the Catalyst-Plugin-AutoCRUD CPAN distribution.

Report information
The Basics
Id: 56250
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-AutoCRUD

People
Owner: Nobody in particular
Requestors: JHANNAH [...] cpan.org
OLIVER [...] cpan.org
Cc:
AdminCc:

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



Subject: uninit value in Metadata.pm
21:27 <@jhannah> hmm... [error] Caught exception in CRM::Model::AutoCRUD::Metadata->process "Use of uninitialized value in string ne at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/AutoCRUD/Model/Metadata.pm line 255."
I was able to reproduce the error, but (long story short) I was on an old branch of the application from 2 months ago. I'm trying to get my trunk operational to see if I can reproduce cleanly. I think it won't. If the problem is still demonstrable, perhaps it will be this: on some older version of DBIx::Class::Schema::Loader, MySQL views pop into the table list, and clicking on them throws the error. I think the current DBICSL does not cause the problem. Thanks, j IRC: jhannah
On Sat Apr 03 08:30:48 2010, OLIVER wrote: Show quoted text
> 21:27 <@jhannah> hmm... [error] Caught exception in > CRM::Model::AutoCRUD::Metadata->process "Use of > uninitialized value in string ne at > > /usr/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/AutoCRUD/Model/Metadata.pm > line > 255."
A DBIC view (assuming use of ResultSource::View) does not have to have a primary key set, and AutoCRUD was trying to find one and breaking. I've put in a temporary hack fix for this, which makes things work. I'm also going to be reworking the whole PK support anyway to support multi col PKs, so which version will hit CPAN first I'm not sure. Thanks once again for the report, anyway. (svn Committed revision 755.) -- regards, oliver.