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

            Bug ID: 16458
           Summary: Setting to guarantor: JavaScript error form.branchcode
                    is undefined
 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: ve...@veron.ch
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com, kyle.m.h...@gmail.com

To reproduce:
- Go to a child parton's detail page
- Edit it using the toolbar item "Edit"
- Edit "Guarantor information", "Set to patron" or "Change patron"
- Select a patron
=>Result OK (patron search window closes, guarantor information is set,
  e.g. Library changes to Guarantor's library if it is different)
- Go back to child patron's detail page
- This time do not use toolbar "Edit" but the "Edit" link below "Date of birth"
/ "Guarantor"
- Edit "Guarantor information", "Set to patron" or "Change patron"
- Select a patron
=>Result NOT OK (patron search window does not close, JavaScript console says: 
  TypeError: form.branchcode is undefined
  (...)/intranet-tmpl/prog/js/members.js
  Line: 213
  Some of the Guarantor's information is not set, e.g. library if it is
different.

I found this while testing Bug 16450, this error appears without and with 16450
applied.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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