Skip Menu |

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

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

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

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

Subject: Specifying a null or not null condition causes uninitialized value warnings
Download (untitled) / with headers
text/plain 576b
If a set or rule contains a null or not null condition, the following warning is generated for each row queried in the table: Use of uninitialized value $_ in substitution (s///) at <path to>/lib/DBIx/Class/ line 816. Example config: { "might_have": { "fetch": 0 }, "has_many": { "fetch": 0 }, "sets": [{ "class": "Artist", "cond": { "": { "!=": null } }, "quantity": "all", "fetch": [{ "rel": "cds" }] }] }
Matt Trout provided a work-around on #dbix-class: "cond": { "": "\IS NOT NULL" },

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

Please report any issues with to