[Koha-bugs] [Bug 8978] New: Patron's dateexpiry is erroneously updated if dateexpiry in UnWantedField syspref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 29 12:48:39 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8978

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8978
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
          Assignee: koha-bugs at lists.koha-community.org
           Summary: Patron's dateexpiry is erroneously updated if
                    dateexpiry in UnWantedField syspref
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: koha at univ-lyon3.fr
          Hardware: All
            Status: NEW
           Version: master
         Component: Patrons
           Product: Koha

Created attachment 13095
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13095&action=edit
Patron's dateexpiry is erroneously updated if dateexpiry in UnWantedField
syspref

If dateexpiry field is absent from patron page because it has been included in
UnWantedField syspref list, the script normally assumes that the date has
been forgotten and update it by default when clicking on 'save' button.
But you may have to make a data modification (add for example a note about
overdue items to a patron which dateexpiry is expired ) on a patron's file
without changing the dateexpiry. This patch makes it possible.

Test plan :
1) add dateexpiry in UnWantedField syspref
2) choose a patron that have for example an expired dateexpiry
3) Click Edit button and make a modification
4) Save

Before the patch, the date is renewed according to the date or period attached
to the patron category.
After, it does not.

-- 
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