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@lists.koha-community.org
          Reporter: alex.arn...@biblibre.com
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com, kyle.m.h...@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.
_______________________________________________
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