[Koha-bugs] [Bug 16458] New: Setting to guarantor: JavaScript error form.branchcode is undefined

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 5 21:05:59 CEST 2016


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 at lists.koha-community.org
          Reporter: veron at veron.ch
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at 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.


More information about the Koha-bugs mailing list