bigpresh / Dancer-Plugin-Database

Dancer::Plugin::Database - easy database support for Dancer applications
http://search.cpan.org/dist/Dancer-Plugin-Database
37 stars 36 forks source link

Fatal error: Hook 'database_connected' does not exist #62

Closed drmuey closed 9 years ago

drmuey commented 9 years ago

Details at https://rt.cpan.org/Ticket/Display.html?id=103427

w/ a possible fix at

https://github.com/PerlDancer/Dancer2-Plugin-Auth-Tiny/issues/4

ambs commented 9 years ago

This is a known problem. It can be fixed (well, workaround) importing Dancer2::Plugin::Database as the final Dancer2 plugin (well, at least if worked that way everytime we need).

The possible fix seems not to be correct, unfortunately. But we are working on this.

Cheers ambs

ambs commented 9 years ago

Dear @drmuey, can you please check if this PR helps in your problems? https://github.com/PerlDancer/Dancer2/pull/889

Thanks

ambs commented 9 years ago

Solved in Dancer2. Should be working with recent version. Please reopen if not.