Koha/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves
Marcel de Rooy 080c05eee2 Bug 8262: explicitly warn that database admin account cannot create lists
Since kohaadmin has no borrower number, it cannot create lists.
A database error is logged, but the user is not notified.
This patch alerts the user.

In the incidental case that a normal user gets a database error,
they are notified too that the list could not be created.

Test plan (for prog and bootstrap):
* This patch should be applied on top of 9032 patches.
* Login as as the database admin user
* Create a list in opac and staff. Check the message.
* Login as a normal user.
* Force a database error on list creation (I renamed category
  in the table with alter table change column..)
* You should have a different error message.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-20 22:55:22 +00:00
..
addbybiblionumber.tt [SIGNED-OFF]Bug 2780 - Capitalize strings consistently (virtualshelves) 2012-04-10 10:16:41 +02:00
downloadshelf.tt [SIGNED-OFF]Bug 2780 - Capitalize strings consistently (virtualshelves) 2012-04-10 10:16:41 +02:00
merge.tt Bug 5917 : Swapping templates over 2011-04-10 20:38:30 +12:00
sendshelf.tt Bug 11248: (follow-up) fix template for translated list emails in staff 2014-04-20 16:18:48 +00:00
sendshelfform.tt Bug 7760 - Add ids and classes to every staff page to help with customizaton (lists, suggestion, z39.50) 2012-03-22 18:12:29 +01:00
shelves.tt Bug 8262: explicitly warn that database admin account cannot create lists 2014-04-20 22:55:22 +00:00