[Dancer-users] Cloning vars in Template::Abstract breaks Plugin::DBIC
alex at alixandalex.com
Thu Aug 30 11:24:04 CEST 2012
We're using Dancer 1.3100 and Plugin::DBIC however if we call a method
on a DBIx::Class object that then makes a request from within the
templates we get the following error:
<DBIX::Class object->call()>: DBI _new_sth: DBI::db=HASH(0x7283538)
has no ImplementorClass at
This can be fixed with the attached patch, basically not using cloning on vars.
Do vars need to be cloned? are they not per request anyway?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 615 bytes
Desc: not available
More information about the Dancer-users