]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1197636 - Email record detail does not check for email
authorDan Pearl <dpearl@cwmars.org>
Fri, 2 Oct 2015 18:54:39 +0000 (14:54 -0400)
committerBen Shum <ben@evergreener.net>
Sat, 27 Feb 2016 23:04:01 +0000 (18:04 -0500)
commit7a6c4d7da0ec5fa1e8babce91d236638660b083e
tree29a5e059202ecb7329c88179f2c9ad0880b97eb8
parent5627950266aa33561cad54b69ea47fb8a1d19c09
LP#1197636 - Email record detail does not check for email

Even though no email was configured, the message shown when requesting
bib information to be emailed indicated success.  This misleading
behavior has been addressed by alerting the patron of the situation
and providing a link to the page where the email address is defined,
after which the action is automatically retried.

The success message has also been altered slightly to provide
confirmation of the generated email.

To test:

[1] Create a patron account that does not have an email address.
[2] In the OPAC, log in as that patron and attempt to email a
    bib record.  A message should display indicating that the
    email can be sent; that message should contain a link to the
    user's account page where they can set their email address.
[3] After setting the email address, you should then be
    redirected back and the email sent.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/templates/opac/record/email.tt2