Skip Menu |

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

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

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

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

Subject: Add quotes in error messages where a named thing wasn't found
Date: Wed, 11 Jan 2017 14:14:51 +0000
To: "bug-DBIx-Class [...]" <bug-DBIx-Class [...]>
From: Ben Hutton <bh7 [...]>
Download (untitled) / with headers
text/plain 828b
I just spent half an hour trying to understand my error message. Turns out I was trying to get column “patient_id,”, but I didn’t see the additional comma. Granted it was totally my mistake. On sharing with my colleagues, one mentioned that he had the same issue but with a space, and with relationship names also. It seems reasonable and helpful to encapsulate the name of things in errors, in quotes, making it much easier to see you’ve made a mistake, and DBIx Class hasn’t suddenly decided a column you know is there, to not be found. Cheers Ben -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.

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

Please report any issues with to