[Koha-bugs] [Bug 11220] New: Patron edit process doesn't remember restriction selections

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 8 15:51:24 CET 2013


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

            Bug ID: 11220
           Summary: Patron edit process doesn't remember restriction
                    selections
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

If you are editing a patron who has an existing restriction or you are adding a
manual restriction, the form doesn't remember your selections if the page is
redisplayed after an error.

The problem cannot be demonstrated by a validation error which is caught by the
client-side validation. It has to be a server-side validation error in order to
trigger the full refresh of the page after error. In my case the error was
triggered because the existing patron's dateofbirth was '0000-00-00' in the
database and Koha returned an error message because of this.

To reproduce using a patron record which has no restrictions:

1. Start with a patron record which will trigger a server-side
   error message.
2. Add a manual restriction in the "Patron restrictions" section of
   the edit form.
3. Submit your changes.
4. After the page refreshes the form will be redisplayed with an error
   message at the top. Whatever data you entered for the manual
   restriction will be gone.

To reproduce using a patron record which has restrictions:

1. Start with a patron record which will trigger a server-side
   error message.
2. Check the box next to the existing restriction you want to remove.
3. Submit your changes.
4. After the page refreshes the form will be redisplayed with an error
   message at the top. The checkbox you checked will be empty.

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