[Koha-bugs] [Bug 13169] C4::Templates::themelanguage fails if the DB is not populated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 31 15:31:30 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13169

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 33073
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33073&action=edit
Bug 13169: C4::Templates::themelanguage fails if the DB is not populated

With the aim to remove hardcoded themes the C4::Templates::themelanguage
got dependent on the DB being populated. This patch reintroduced the
hardcoded defaults as a last resort.

To test:
- Do a fresh install, clean your browser's cache, empty DB
- Open the staff interface
=> FAIL: A "Software error" screen shows "Template process failed: file
error..."
- Apply the patch
- Reload
=> SUCCESS: The webinstaller prompts for login correctly.
- Sign off :-D

Regards

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list