[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 22:14:37 CET 2014


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

Nick Clemens <nick at quecheelibrary.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33073|0                           |1
        is obsolete|                            |

--- Comment #3 from Nick Clemens <nick at quecheelibrary.org> ---
Created attachment 33115
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33115&action=edit
[SIGNED OFF] 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

Signed-off-by: Nick Clemens <nick at quecheelibrary.org>

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


More information about the Koha-bugs mailing list