[Koha-bugs] [Bug 19443] New: Error while attempting to duplicate a patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 10 17:57:55 CEST 2017


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

            Bug ID: 19443
           Summary: Error while attempting to duplicate a patron
 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: alex.arnaud at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

HTML in the patron creating/editing form is not correct.
If you create a patron and Koha detect a duplicate one, the new page
loaded contains a new form at the top with a button inside: 
"Not a duplicate. Save as new record"

This form is not closed (</form>) and in some situations this could
be problematic.

Try this test plan:

 - Edit the syspref IntranetUserJS and type the following code:
   "$(document).ready(function() {
$("#memberentry_library_management").insertBefore("#memberentry_identity");
});"
   This code move the "Library management" part (cardnumber, Library, Category
etc...) on the top of the page.
 - create a patron so that Koha will warn you about a duplicate one,
 - click on "Not a duplicate. Save as new record",
 - you should get error(s) about empty field(s).
   Note that now, the library management part's fields are empty or reset to
default

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