[Koha-bugs] [Bug 34018] New: Patron image upload fails without cardnumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 15 08:47:20 CEST 2023


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

            Bug ID: 34018
           Summary: Patron image upload fails without cardnumber
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org

If a borrower doesn't have a cardnumber, you can't upload a patron image via
the Patrons module.

I realize this is because it leverages the
/cgi-bin/koha/tools/picture-upload.pl tool which requires a file including
cardnumbers or prompts for a cardnumber, but you should be able to use
borrowernumber instead - at least via the Patron module.

--

The way to do this would be to refactor tools/picture-upload.pl to use a Perl
module, and then create a REST API endpoint for uploading the patron image.

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