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@lists.koha-community.org
          Reporter: oleon...@myacpl.org
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com, kyle.m.h...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to