[Koha-bugs] [Bug 35796] Patron password expiration date lost when patron edited by superlibrarian
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 8 22:02:52 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35796
Andrew Fuerste-Henry <andrewfh at dubcolib.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Patron password expiration |Patron password expiration
|arbitrarily changes when |date lost when patron
|account edited |edited by superlibrarian
CC| |andrewfh at dubcolib.org
--- Comment #1 from Andrew Fuerste-Henry <andrewfh at dubcolib.org> ---
We just noticed some missing password expiration dates and I think I see what's
happening. It's important to note that the password expiration date is field is
only shown and editable in the patron record if one is a superlibrarian.
To recreate:
- have a patron with a password expiration date
- log into Koha on an account that can search and edit patrons but is not a
superlibrarian
- Edit the patron, confirm that password expiration date is included in the
edit form, save your changes
- confirm your patron still has a password expiration date
- log into Koha as a superlibrarian
- Edit the patron, confirm the password expiration date field is included in
the patron edit form, but loads without a value. Do not add a date or click
into this field.
- Save the patron
- confirm the patron no longer has a password expiration date
I'm not sure why the expiration date value doesn't load when editing a patron,
it appears that it is intended to:
https://github.com/Koha-Community/Koha/blob/4032da3f964f438e913ed19d40b0b73aa4bd2533/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt#L1347
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list