C4::Installer->new() duplicates code from Koha::Database->_new_schema() Fixing by making C4::Installer get the db connection the normal way. TEST PLAN: use misc/devel/populate_db.pl or installer/install_automatic.pl whichever you have to deploy the default database.
Created attachment 63933 [details] [review] Bug 18721 - C4::Installer uses Koha::Database instead
I used populate_db.pl, but does not work - the database tables were not created.
Created attachment 64423 [details] [review] Bug 18721: (follow-up) Restore dbms attribute in class, fix Installer.t This patch restores "dbms" attribute in C4::Installer, since it is used in the class. I also checked if other scripts and modules are using any of the class attributes, but did not notice further issues, apart from Installer.t Removes now unneeded tests from t/db_dependent/Installer.t. To test: 1. prove t/db_dependent/Installer.t