Bug 12931 - Gracefully handle database problems when starting web install
Summary: Gracefully handle database problems when starting web install
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Installation and upgrade (web-based installer) (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-16 14:43 UTC by Owen Leonard
Modified: 2014-09-16 14:43 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?