Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer2-Plugin-Database CPAN distribution.

Report information
The Basics
Id: 103427
Status: rejected
Priority: 0/
Queue: Dancer2-Plugin-Database

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

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



Subject: Initial connections erroring out
Hello! With v/2.12 my first call to database({ … }) or database('sample') dies with: Hook 'database_connected' does not exist at …/5.16.0/Dancer2/Plugin/Database.pm line 45. the log message right before that error has: DEPRECATED: Dancer2::Plugin::Database calls 'dsl' instead of '$dsl->dsl'. at …/5.16.0/Dancer2/Plugin/Database.pm line 31. Also, database() dies w/ Use of uninitialized value in concatenation (.) or string at …/5.16.0/Dancer/Plugin/Database/Core.pm line 203. which is weird because the driver is configured: plugins: Database: default_connection: sample connections: sample: driver: SQLite database: …
I should mention that am not using any of the hooks, just use the module, setup a config, and call a database(…)-> thanks :)