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

--- Comment #11 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 209017
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209017&action=edit
Bug 43638: Add Koha::PatronImageImportAccount(s) and
Koha::PatronImageImportLog(s)

Add the Koha::Object(s) classes for the two new tables:

- Koha::PatronImageImportAccount(s): an import account, i.e. the file
  transport to poll for patron images and the field used to match the
  files to patrons (the matchpoint). file_transport() returns the
  transport as its concrete backend (local, FTP or SFTP), and
  resolved_matchpoint() gives the matchpoint without the
  "patron_attribute_" prefix used for patron attributes.
- Koha::PatronImageImportLog(s): one row per account and file name that
  was processed, with the outcome (processed or error) and its details.

To test:
1. Run $ prove t/db_dependent/Koha/PatronImageImportAccounts.t \
                t/db_dependent/Koha/PatronImageImportLogs.t
   => Both pass

Co-Authored-By: Claude Haiku 4.5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to