[Koha-bugs] [Bug 19345] New: SendMail error does not display error message in password recovery

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 19 19:37:38 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19345

            Bug ID: 19345
           Summary: SendMail error does not display error message in
                    password recovery
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: minor
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: david.bourgault at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

If the call to SendPasswordRecoveryEmail(...) in opac-password-recovery.pl
fails, a error message should be displayed, but it's not.

To reproduce:
- Force SendPasswordRecoveryEmail() failure
    - Easiest way is to the file opac-password-recovery.pl and replace the
      'elsif (SendPassword...' at line 131 by 'elsif ( 0 ) {'
- Attempt to recover a user's password with valid login+email combo.

A message saying "An error has occurred while sending you the password recovery
link." should be displayed, but it is not.

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


More information about the Koha-bugs mailing list