Bug 7944 - attribute error could be clearer
authorOwen Leonard <oleonard@myacpl.org>
Fri, 18 Jul 2014 18:18:12 +0000 (14:18 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 11 Aug 2014 18:45:59 +0000 (15:45 -0300)
commit293c0c16c241e5f84b5f7b666e3caa46aa208745
treea2a21e245aafa17d8cca999e4d3da4ecb77c44bc
parent54e7212edd3018772c0d09261613fbb9bfb184d1
Bug 7944 - attribute error could be clearer

If you try to create a patron and enter an extended attribute value
which is required to be unique but exists in another record the error
you receive is not clear. It uses the attribute code instead of the
description. This patch adds description to the output.

To test you must have ExtendedPatronAttributes enabled.

- Edit or create an extended patron attribute and designate it a unique
  identifier.
- Edit a patron and add a value to that attribute.
- Edit another patron and try to add the same value.

You should get an error which includes both the description of the
attribute you tried to modify and the value you submitted.

Signed-off-by: Christopher Brannon <christopher@debian.brannon.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, no problems found.
Passes tests and Qa script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
members/memberentry.pl