Bug 12931

Summary: Gracefully handle database problems when starting web install
Product: Koha Reporter: Owen Leonard <oleonard>
Component: Installation and upgrade (web-based installer)Assignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Owen Leonard 2014-09-16 14:43:56 UTC
If you start the web installer but the correct database has not been created you get an ugly Perl error:

Unknown database 'koha' at C4/Context.pm  line 802.

Judging from the template, the web installer appears to be designed to handle checks of the database in "Step 2:"

<p class="error">No database named <code>[% dbname %]</code> detected.</p>

For the purposes of a the web installer can and should the DB check in Context.pm be skipped?