Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 101838
Status: new
Priority: 0/
Queue: DBIx-Class

Owner: Nobody in particular
Requestors: MITHALDU [...]

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

Subject: DBIx::Class::Schema->source could throw more newbie-friendly errors on missing source
Download (untitled) / with headers
text/plain 876b
After verifying a piece of code in dev and test I deployed* a dbix-class app onto a live system i have no direct access to and got this error message back: DBIx::Class::Schema::source(): Can't find source for Customer at ../lib/API/ line 49 The calling code in question was: $schema->resultset( "Customer" ); In this context it was quite ambiguous to me, as i had no idea that source refers to the class representing a table. For example i pondered if the actual database was missing that table in production. I'm not set on a particular wording this should have, but i think it could be made more newbie-friendly. A suggestion would be: DBIx::Class::Schema::source(): Can't find source class for resultset Customer (maybe file not found, or not compiled) * the system is fairly crap and i assume it simply did not upload the relevant file

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to