Skip Menu |

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

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

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

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



Subject: AutoCRUD crashs when having another Model which isnt DBIx::Class
[error] Caught exception in King2go::Web::Model::AutoCRUD::Metadata->build_db_info "Can't call method "action_for" on an undefined value at /home/tr/perl5/lib/perl5/Catalyst/Model/PayPal/IPN.pm line 150." [error] Caught exception in King2go::Web::Controller::AutoCRUD::Root->build_site_config "Can't use string ("0") as a HASH ref while "strict refs" in use at /home/tr/perl5/lib/perl5/Catalyst/Plugin/AutoCRUD/Controller/Root.pm line 156." [error] Caught exception in King2go::Web::Model::AutoCRUD::Metadata->process "Can't call method "action_for" on an undefined value at /home/tr/perl5/lib/perl5/Catalyst/Model/PayPal/IPN.pm line 150."
On Wed Apr 21 16:07:55 2010, GETTY wrote: Show quoted text
> [error] Caught exception in > King2go::Web::Model::AutoCRUD::Metadata->build_db_info "Can't call > method "action_for" on an undefined value at > /home/tr/perl5/lib/perl5/Catalyst/Model/PayPal/IPN.pm line 150."
Thanks for this bug report. It's been difficult for me to test, without a fully working IPN setup of my own, but I believe this has something to do with searching through the Models in the Catalyst app. I've applied some protection to this step in the AutoCRUD plugin which fixed one blow-up I was able to reproduce. There will be a new AutoCRUD release to CPAN in a few days, and I'd be grateful if you could test and let me know if all is okay, or not (in which case we can work through this more). p.s. I also know you asked about the content type encoding, and that will have a config param in the next release as I mentioned on IRC. Thanks once again for the report. -- regards, oliver.